Daniel Stenberg
088ba97a24
FTP: call opensocket callback properly
...
When the new socket is created for an active connection, it is now done
using the open socket callback.
Test case 596 was modified to run fine, although it hides the fact that
the close callback is still called too many times, as it also gets
called for closing sockets that were created with accept().
2011-12-05 11:42:10 +01:00
Daniel Stenberg
4403e82f32
symbols.pl: provide LIBCURL_HAS macro for apps
...
Experience has shown that the symbols-in-versions file is very useful to
applications that want to build with a wide range of libcurl versions.
It is however easy to get it wrong and the source gets a bit messy with
all the fixed numerical comparisions.
The point of this script is to provide an easy-to-use macro for libcurl-
using applications to do preprocessor checks for specific libcurl
defines, and yet make the code clearly show what the macro is used for.
2011-11-24 22:56:39 +01:00
Daniel Stenberg
66617b79d7
CURLOPT_QUOTE: SFTP supports the '*'-prefix now
2011-11-18 20:27:07 +01:00
Jonas Schnelli
f64812ca63
SFTP: support '*' prefix for quote operations
...
prefixing a command with '*' means it is allowed to fail without
aborting the chain actions
2011-11-18 16:04:52 +01:00
Daniel Stenberg
fc8809f993
THANKS: one new contributor in 7.23.1
2011-11-17 23:43:38 +01:00
Jason Glasgow
8d0a504f0d
CURLOPT_DNS_SERVERS: set name servers if possible
2011-11-17 22:52:33 +01:00
Daniel Stenberg
7cfd10e255
THANKS: added 18 new contributors from 7.23.0
2011-11-15 20:44:24 +01:00
Dan Fandrich
95ddbdb1db
curl_easy_setopt arguments should be of type long in the examples
2011-11-14 14:07:25 -08:00
Dave Reisner
b24c28e6c2
doc/curl.1: fix sentence with ending for -# option
...
Try to be a little more descriptive about the effect of this flag,
rather than parroting what was said in the paragraph just above.
2011-10-30 19:43:38 +01:00
Daniel Stenberg
120025b7f8
libcurl-multi.3: update the list of areas still blocking
2011-10-27 09:22:15 +02:00
Daniel Stenberg
5850cc4808
curl_easy_setopt.3: headers can be CURL_MAX_HTTP_HEADER bytes
...
Mention this maximum header size for the header callback cases
2011-10-24 16:43:53 +02:00
Daniel Stenberg
e771344611
curl_easy_setopt.3: fix typo
...
shoot, Dan Fandrich already had this pointed out...
2011-10-24 00:13:47 +02:00
Steve Holme
a4471045bb
curl_easy_setopt: Added pop3 to CURLOPT_URL.
...
Added pop3 username and password example as well as an explanation of
how path part of the URL is used under pop3.
Additionally have corrected a couple of typos.
2011-10-24 00:10:58 +02:00
Daniel Stenberg
1399c3da0d
KNOWN_BUGS: #74 fixed
...
Multiple auths in the same WWW-Authenticate header
Fixed in commit 7d81e3f7193b8c
2011-10-20 13:12:02 +02:00
Daniel Stenberg
adaa3f6e14
CURLM_CALL_MULTI_PERFORM: remove mention
...
This return code has not been used since 7.20.0 so we can stop
mentioning it for current libcurl.
2011-10-20 13:12:02 +02:00
Daniel Stenberg
d47d95ac3b
--epsv: fix typo
...
Reported by: Thomas L. Shinnick
2011-10-17 00:04:43 +02:00
Daniel Stenberg
337252bdd4
curl_multi_fdset: clarify the max_fd == -1 case
...
Elaborate what max_fd == -1 means
Remove the reference to CURLM_CALL_MULTI_PERFORM as modern libcurl
versions don't ever return that.
2011-10-16 23:38:48 +02:00
Daniel Stenberg
ff03ee2a3c
TODO: have form functions use CURL handle argument
2011-10-16 01:06:48 +02:00
Michal Marek
54ef47a5a0
docs: --xattr
2011-10-14 22:34:04 +02:00
Dominique Leuenberger
381459fa65
m4: Use x in order to avoid variable 'x' set but not used [-Werror=unused-but-set-variable]
...
This error could be caused by configure scripts being run with -Werror
-Wall, which would lead to libcurl being detected as unusable.
2011-10-03 22:46:28 +02:00
Daniel Stenberg
15e3e45170
share: don't use SSL unless enabled
...
Don't even declare the struct members for disabled features
Introducing the CURLSHE_NOT_BUILT_IN return code for the share interface
when trying to set a sharing option that has been disabled (or not
enabled) in the library.
2011-10-03 22:35:04 +02:00
Daniel Stenberg
5d45285cf3
tutorial: clarify the handle sharing when treaded
...
Previously there was wording that made people uncertain of the exact
rules.
Feedback by: Julien Royer and Georg Lippitsch
URL: http://curl.haxx.se/mail/lib-2011-09/0357.html
2011-09-30 23:42:47 +02:00
Dan Fandrich
5898a6a09b
curl_easy_setopt: Added scp and sftp to the URL section
2011-09-28 21:39:48 -07:00
Steve Holme
57fffa728b
curl_easy_setopt: A brief tidy up
...
Slight rewording of the CURLOPT_URL SMTP sub-section.
Corrected the incorrect use of hyphens on the three uses of
"zero-terminated" with "zero terminated" to match the rest of the
document.
Corrected the use of an out of place hyphen in CURLOPT_NOPROXY section.
2011-09-28 23:31:37 +02:00
Alejandro Alvarez
5793bc370c
SSL session sharing support added
...
With locking, plus test, plus documentation
2011-09-28 23:06:34 +02:00
Daniel Stenberg
9f2f8d5122
multi docs: extended the multi_socket API description
2011-09-28 13:53:59 +02:00
Guenter Knauf
b4fccc1d8e
Added SPNEGO to NetWare build.
2011-09-27 16:02:07 +02:00
Yang Tse
d9f686db88
remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORY
2011-09-26 13:05:42 +02:00
Yang Tse
119f43360b
allow write callbacks to indicate OOM to libcurl
...
Allow (*curl_write_callback) write callbacks to return
CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions
inside the callback itself.
2011-09-25 19:05:46 +02:00
Daniel Stenberg
2d6796aac5
curl_multi_fdset: avoid FD_SET out of bounds
...
If a socket is larger than FD_SETSIZE, avoid using FD_SET() on the
platforms where this is possible.
Bug: http://curl.haxx.se/bug/view.cgi?id=3413274
Reported by: Tim Starling
2011-09-25 17:34:12 +02:00
Guenter Knauf
bb94b92894
Fixed MinGW examples makefile.
2011-09-25 16:31:31 +02:00
Guenter Knauf
230459dd00
NetWare makefile tweaks to select different builds.
2011-09-25 16:29:08 +02:00
Guenter Knauf
8bab6700d9
Added header to be included by dist script.
...
Probably the wrong place, but I dont know better.
2011-09-24 15:06:21 +02:00
Guenter Knauf
87a45c7998
MinGW64 has this prototype already.
2011-09-23 03:56:34 +02:00
Guenter Knauf
dafa2fc944
Fixed scanf format for WORD = unsigned short.
2011-09-23 03:21:50 +02:00
Guenter Knauf
ef3f1f3146
Added Win32-only samples.
2011-09-23 03:00:32 +02:00
Guenter Knauf
ba52e0a93b
Added a workaround for printing size_t.
2011-09-23 02:16:20 +02:00
Guenter Knauf
3c3aa09c65
Added NetWare examples makefile.
2011-09-22 14:35:49 +02:00
Guenter Knauf
62b0fdca9e
Another MinGW example makefile tweak.
2011-09-21 18:21:05 +02:00
Guenter Knauf
3317160c19
Fixed sample to compile for Windows platform.
2011-09-21 18:09:34 +02:00
Guenter Knauf
e4172d934d
Changed suffix rules to pattern rules.
...
Suffix rules cannot have any prerequisites of their own.
2011-09-21 03:25:19 +02:00
Guenter Knauf
a6b69b64ad
Some more MinGW build tweaks.
...
Added envvars to specify OpenSSL include, libpath and lib.
Added rule to create curlbuild.h from curlbuild.h.dist.
2011-09-21 02:06:05 +02:00
Guenter Knauf
a6c168b893
A bunch of MinGW build tweaks.
...
All paths to dependencies now quoted; synced examples makefile.
2011-09-20 15:05:28 +02:00
Daniel Stenberg
00532341b5
CURLOPT_URL docs: no need to mention function names
2011-09-18 23:42:29 +02:00
Steve Holme
dae0b7d1aa
CURLOPT_URL: Expanded URL description
...
Expanded the section about CURLOPT_URL to include the format of the URL
and detailed information and examples relating to specific protocols.
2011-09-18 23:38:08 +02:00
warp kawada
aff70e2e95
Curl_add_custom_headers: support headers with no data
...
A custom HTTP header ending in a semicolon instead of a colon
will be treated as a header to be added without any data
portion.
2011-09-13 16:17:21 -07:00
Daniel Stenberg
6790a543d4
progressfunc: a simple CURLOPT_PROGRESSFUNCTION example
2011-09-13 22:48:55 +02:00
Daniel Stenberg
d52cd3bd17
THANKS: 16 new contributors from 7.22.0
2011-09-13 20:03:17 +02:00
Daniel Stenberg
432044b774
BUGS: spellfixed, slightly reformatted for web looks
...
Reported by: Jeff Pohlmeyer
2011-09-13 13:05:31 +02:00
Dan Fandrich
9dfd7a3d13
Document NTLM winbind options (and caveats)
2011-09-12 14:45:37 -07:00