473,395 Members | 1,584 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

questions about curl

I was looking at the various cURL options and have a few questions.

CURLOPT_HTTPPROXYTUNNEL's being set to true is supposed to tunnel
through a given HTTP proxy. Afaik, tunneling is only possible when the
CONNECT method is used. Is that correct?

Also, if it is... one can normally tunnel through as many HTTP proxies
supporting CONNECT as they see fit. Does cURL only let you tunnel
through one?

CURLOPT_PORT's value is described as "an alternative port number to
connect to", however, CURLOPT_URL already allows a URL to be added.
Does this mean that if it can't connect on that port, it'll try to
connect on this port?

Jul 25 '06 #1
1 1806

yawnmoth wrote:
I was looking at the various cURL options and have a few questions.

CURLOPT_HTTPPROXYTUNNEL's being set to true is supposed to tunnel
through a given HTTP proxy. Afaik, tunneling is only possible when the
CONNECT method is used. Is that correct?

Also, if it is... one can normally tunnel through as many HTTP proxies
supporting CONNECT as they see fit. Does cURL only let you tunnel
through one?

CURLOPT_PORT's value is described as "an alternative port number to
connect to", however, CURLOPT_URL already allows a URL to be added.
Does this mean that if it can't connect on that port, it'll try to
connect on this port?
Also... it doesn't look to me as though SOCKS v4 is supported by cURL.
Is this correct or am I just reading the documentation to quickly?

Jul 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Haluk Durmus | last post by:
Hello I checked out openssl,mm,apr,apr-util,apache 2,curl,libxml and php from cvs. php couse an ERROR I did the following steps:
3
by: Hans | last post by:
Hi everybody, I am desperately trying to log into my account at godaddy.com with PHP and Curl and just cannot make it happen. Has anybody written a script for this purpose? Here is what I...
0
by: nfhm2k | last post by:
I've been trying to find a solution to this for quite some time now... I even took a look at existing scripts... Including this one......
4
by: zorro | last post by:
Hello there, I can't figure out why is it that when i use an array for my postfields it doesn't work : this works curl_setopt($curl, CURLOPT_POSTFIELDS, "clown=bozo" ); this doesn't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.