Daniel Stenberg
7799ac434e
tutorial: remove CURLM_CALL_MULTI_PERFORM add sharing
...
The CURLM_CALL_MULTI_PERFORM reference is an old leftover I had to
remove.
I also added some blurb to the previously blank "sharing" section.
2011-12-20 09:48:32 +01:00
Daniel Stenberg
af9bc1604c
curl.1: minor white space cleanup
2011-12-19 14:23:23 +01:00
Alessandro Ghedini
b235d5ade8
docs: improve description of the --capath option
...
Document the possibility of providing multiple values using the ":"
separator, and the fact that the default value will be ignored if the
option is used.
2011-12-19 11:10:47 +01:00
Steve Holme
ee3d3adc6f
DOCS: Added SMTP information to CURLOPT_INFILESIZE
2011-12-19 11:08:01 +01:00
Colin Hogben
612a61b267
Correct default upload mimetype in manual
...
The default content-type for file uploads is application/octet-stream,
not text/plain as stated in the MANUAL.
2011-12-15 17:27:38 +01:00
Alessandro Ghedini
cd4cd66839
docs: fix typo in curl_easy_setopt manpage
2011-12-15 17:25:07 +01:00
Jason Glasgow
6e4835c795
CURLOPT_INTERFACE: avoid resolving interfaces names
...
Do not try to resolve interfaces names via DNS by recognizing interface
names in a few ways. If the interface option argument has a prefix of
"if!" then treat the argument as only an interface. Similarly, if the
interface argument is the name of an interface (even if it does not have
an IP address assigned), treat it as an interface name. Finally, if the
interface argument is prefixed by "host!" treat it as a hostname that
must be resolved by /etc/hosts or DNS.
These changes allow a client using the multi interfaces to avoid
blocking on name resolution if the interface loses its IP address or
disappears.
2011-12-12 23:12:37 +01:00
Daniel Stenberg
50d88bf4b5
FAQ: add --resolve details to question 3.19
2011-12-07 23:08:15 +01:00
Dan Fandrich
46724b87b7
Added some include files in a couple of example programs
...
This improves portability of the examples. This patch was
submitted to the OpenBSD ports collection by naddy.
2011-12-06 19:54:48 -08:00
Daniel Stenberg
361cd03d58
CURLOPT_CONNECTTIMEOUT: default is 300 seconds
...
If the option is set to 0, the default timeout will be used - which in
modern libcurl versions equals 300 seconds (== 5 minutes).
Bug: http://curl.haxx.se/mail/lib-2011-12/0051.html
Reported by: Vladimir Grishchenko
2011-12-05 23:19:50 +01:00
Rob Ward
7e4daaf908
progress function example: include timed interval
...
Adds a timer based off of CURLINFO_TOTAL_TIME that is used to perform
certain actions after a minimum amount of time has passed using the
progress function. As a consequence the curl handle is now also passed
into the progress function. Progress example now also includes an
example of how to retreive the TOTAL_TIME and print it out.
2011-12-05 23:13:34 +01:00
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
Daniel Stenberg
deb3321092
BUGS: renumbered to look better in the web version
2011-09-12 23:02:59 +02:00
Daniel Stenberg
68253ca52e
BUGS: revamped bug report documentation
2011-09-12 22:55:40 +02:00
Yang Tse
50c3c20416
Mention that BSD-style lwIP TCP/IP stack support on Windows is experimental.
2011-09-12 16:01:07 +02:00
Daniel Stenberg
587ed3234b
TODO: remove 4 entries, add one new
...
Zero-copy and "Avoid having to remove/readd handles" are not really
features we think are worthwhile to add. Removed.
SRP features have been added already, removed.
11.9 IPv6 addresses with globbing added
2011-09-11 19:26:17 +02:00
Daniel Stenberg
450975b0c3
getinmemory.c: use better argument names for write callback
2011-09-07 22:43:28 +02:00
Daniel Stenberg
e18c3f447e
--cookie-jar: activates the cookie engine
2011-08-26 23:23:07 +02:00
Yang Tse
407e08baad
NTLM single-sign on adjustments (X)
...
Functions renamed:
Curl_output_ntlm_sso -> Curl_output_ntlm_wb
sso_ntlm_close -> wb_ntlm_close
sso_ntlm_response -> wb_ntlm_response
sso_ntlm_initiate -> wb_ntlm_initiate
Preprocessor symbols renamed:
CURLAUTH_NTLM_SSO -> CURLAUTH_NTLM_WB
CURL_VERSION_NTLM_SSO -> CURL_VERSION_NTLM_WB
2011-08-26 18:57:50 +02:00
Daniel Stenberg
186463e7fa
TODO: progress callback without doubles
2011-08-25 16:05:04 +02:00
Kamil Dudka
f5ad192d23
docs: the next release is going to be 7.22.0
2011-08-24 23:51:21 +02:00
Daniel Stenberg
cce6508242
resolve.c: new example showing off CURLOPT_RESOLVE
2011-08-23 16:31:10 +02:00
Daniel Stenberg
af809923e4
externalsocket.c: new example
2011-08-23 11:28:35 +02:00
Daniel Stenberg
c8766ed3fb
ignore rtsp
2011-08-13 00:22:47 +02:00
Daniel Stenberg
8bd877d179
docs: --delegation
2011-08-12 23:51:41 +02:00
Daniel Stenberg
784971743d
curl_easy_cleanup: clarify the callback situation
2011-08-11 14:55:17 +02:00
Daniel Stenberg
657d02fbac
rtsp.c: converted to C
...
Trimmed the newlines to be LF-only. Converted the source to plain C, to
use curl style indents, to compile warning-free with picky options and
fixed the minor fprintf() bug on line 245. Added to makefile.
2011-08-10 10:57:50 +02:00
Jim Hollinger
8e2de86723
rtsp.c: new example
...
Code from
http://code.google.com/p/rtsprequest/source/browse/trunk/rtsprequest.cpp
2011-08-10 10:54:53 +02:00
Daniel Stenberg
4b48adb876
TODO: remove curl_formpost in a future version
...
15.8 remove 'curl_httppost' from public
2011-08-10 08:55:13 +02:00
Daniel Stenberg
27dbc3f526
proxy protocol docs: rephrased and updated
2011-08-09 09:12:51 +02:00
Daniel Stenberg
73548e1d22
s/7.21.8/7.22.0
2011-08-08 10:13:09 +02:00
Daniel Stenberg
967deb43f8
VERSIONS: clarify our versioning concept
...
Drop the pre-release part from this text as we don't use that in
practise since many years.
Update the phrasing to reflect our more strict interpretation:
http://curl.haxx.se/mail/lib-2011-08/0064.html
2011-08-08 09:25:59 +02:00
Yang Tse
817b863466
BSD-style lwIP TCP/IP stack support - docs/INSTALL blurb
2011-08-05 16:32:20 +02:00
Kamil Dudka
a7864c41db
curl_gssapi: refine the handling of CURLOPT_GSSAPI_DELEGATION
...
Suggested by Richard Silverman.
2011-08-03 10:56:41 +02:00
Adam Tkac
ebf42c4be7
Add new CURLOPT_GSSAPI_DELEGATION option.
...
Curl_gss_init_sec_context got new parameter - SessionHandle.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2011-08-03 10:23:34 +02:00
Daniel Stenberg
d95f45cd40
symbols-in-versions: add NTLM_SSO symbols
2011-07-19 00:54:41 +02:00
Daniel Stenberg
3e71ebe4eb
docs: FTP quotes support '*' prefix to ignore errors
...
By default libcurl stops processing quote commands on failures.
2011-06-30 09:57:23 +02:00
Daniel Stenberg
bfca0e2f50
THANKS: new contributors from 7.21.7
2011-06-29 20:42:02 +02:00
Daniel Stenberg
ac28971aa6
examples: cleanup curl includes
...
Only <curl/curl.h> is needed typically and curl/types.h has been removed
2011-06-28 19:08:51 +02:00
Daniel Stenberg
8da5da9b65
curl_formfree: clarify which pointer to free
2011-06-23 09:31:12 +02:00
Daniel Stenberg
c9a82f39e2
FAQ: more blurb on persistent connections
2011-06-21 08:45:45 +02:00
Daniel Stenberg
56e5302b53
INSTALL: mention the GIT-INFO file
2011-06-20 22:20:39 +02:00
Daniel Stenberg
84e13f2e07
curl_formget.3: CURLFORM_STREAM has its drawbacks
...
Due to a design flaw, the CURLFORM_STREAM option doesn't really work
with curl_formget until after curl_easy_perform (or similar).
2011-06-13 22:03:33 +02:00
Daniel Stenberg
832e827518
FAQ: binding clarification
...
We don't author the bindings, they are created outside the main project.
2011-06-13 19:02:38 +02:00
Daniel Stenberg
d5cc77b744
CURLOPT_WRITEHEADER: clarify the docs
2011-06-10 13:17:17 +02:00
Dan Fandrich
b3740f0e09
curl hasn't sent a Pragma: header by default for a while
2011-06-02 18:41:57 -07:00
Daniel Stenberg
d6bb8dcc23
CURLOPT_WILDCARDMATCH: minor style edit
...
Due to some flaw in roffit I removed some style changes to make the web
page look better.
2011-06-01 19:51:16 +02:00
Daniel Stenberg
f3d77f772d
curl_easy_setopt.3: NOPROGRESS also affects the callback
2011-05-27 11:13:13 +02:00
Daniel Stenberg
340228cc81
setopt.3: remove leftover style change
2011-05-25 13:51:57 +02:00
Daniel Stenberg
edf282c096
setopt.3: CURLOPT_WRITEFUNCTION had wrong function proto
2011-05-25 13:50:52 +02:00
Daniel Stenberg
e83816bfcf
typo: close is in man page section 3
2011-05-19 22:31:04 +02:00