9
Version 7.25.0 (22 Mar 2012)
11
Daniel Stenberg (22 Mar 2012)
12
- RELEASE-NOTES: synced with b8b2cf612b2
14
Yang Tse (22 Mar 2012)
15
- tests #1400 #1401: add missing keywords
17
- http_proxy.h: fix builds with proxy or http disabled
19
- parsedate.c: fix a numeric overflow
21
Daniel Stenberg (22 Mar 2012)
22
- [Andrei Cipu brought this change]
24
cookies: strip the numerical ipv6 host properly
26
The commit e650dbde86d4 that stripped off [brackets] from ipv6-only host
27
headers for the sake of cookie parsing wrongly incremented the host
28
pointer which would cause a bad free() call later on.
30
Yang Tse (22 Mar 2012)
31
- test #598: add to Makefile.am
33
- test #598: OOM handling fixes
35
- fix several compiler warnings
37
Daniel Stenberg (22 Mar 2012)
38
- CONNECT: fix multi interface regression
40
The refactoring of HTTP CONNECT handling in commit 41b0237834232 that
41
made it protocol independent broke it for the multi interface. This fix
42
now introduce a better state handling and moved some logic to the
43
http_proxy.c source file.
46
Bug: http://curl.haxx.se/mail/lib-2012-03/0162.html
48
- SWS: refuse to serve CONNECT unless running as proxy
50
Yang Tse (21 Mar 2012)
51
- curl-functions.m4: update detection logic of getaddrinfo() thread-safeness
53
Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also
54
consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or
55
(_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not.
57
- fix several compiler warnings
59
- tests 140X: fix --libcurl generated source file reading mode for MSYS builds
61
- tool_easysrc.c: fix --libcurl option output file text translation mode
63
Use fopen() with "w" mode instead of "wt" to fix cygwin builds.
65
- build: remove tool_cb_skt.[ch] references
67
Daniel Stenberg (18 Mar 2012)
68
- RELEASE-NOTES: synced with ad77420ac761b
70
3 more bugs, 1 more contributor
72
- lwip: basic checks and macros for compatiblity
74
Yang Tse (17 Mar 2012)
75
- tool_setopt.c: more OOM handling fixes
77
Daniel Stenberg (16 Mar 2012)
78
- cmake: list_spaces_append_once fails with spaces in filename
80
Windows standard libraries are located in C:/Program Files/Microsoft
81
SDKs/[...]. They are already included in the default MSVC
82
LIBPATH. Hence, find_library(WSOCK32_LIBRARY wsock32) and
83
find_library(WS2_32_LIBRARY ws2_32) are not needed. They return the full
84
path to the libraries including spaces. Of course,
85
list_spaces_append_once will mangle the result and the build fails.
87
Bug: http://curl.haxx.se/bug/view.cgi?id=3494968
89
Yang Tse (16 Mar 2012)
90
- http_proxy.c: fix OOM handling
92
- tool_setopt.c: fix OOM handling
94
- fix several compiler warnings
96
- fix some compiler warnings
98
Daniel Stenberg (13 Mar 2012)
99
- [Maxim Prohorov brought this change]
101
resolve with c-ares: don't resolve IPv6 when not working
103
If the Curl_ipv6works() function says no, there is no reason to try AAAA
104
names even if libcurl was built with IPv6 support enabled.
106
Bug: http://curl.haxx.se/mail/lib-2012-03/0045.html
108
unknown (10 Mar 2012)
109
- [Steve Holme brought this change]
111
smtp.c: Changed the curl error code for EHLO and HELO responses
113
Changed the returned curl error codes for EHLO and HELO responses from
114
CURLE_LOGIN_DENIED to CURLE_REMOTE_ACCESS_DENIED as a negative response
115
from these commands represents no service as opposed to a login error.
117
Daniel Stenberg (10 Mar 2012)
118
- RELEASE-NOTES: synced with e650dbde86
120
New: 12 bugs, 3 changes, 6 contributors and updated counters at the top
122
- [Andrei Cipu brought this change]
124
Curl_http: strip off [brackets] from ipv6-only host headers
126
Since the host name is passed in to the cookie engine it will not work
127
correctly if the brackets are left in the name.
129
Bug:http://curl.haxx.se/mail/lib-2012-03/0036.html
131
- [Armel Asselin brought this change]
133
CURLSSH_OPT_AUTH: documented it has no effect
135
- [John Joseph Bachir brought this change]
137
mk-ca-bundle.pl: use LWP::UserAgent with proper https verify behavior.
139
An alternative would be:
141
1. specify HTTPS_CA_DIR and/or HTTPS_CA_FILE
142
2. ensure that Net::SSL is being used, and IO::Socket::SSL is NOT being
145
This question and answer explain:
146
http://stackoverflow.com/questions/74358/
148
- [John Joseph Bachir brought this change]
150
access the CA source file using HTTPS
152
- includes: remove inclusion of unused file http_proxy.h
154
- CONNECT: made generically not per-protocol
156
Curl_protocol_connect() now does the tunneling through the HTTP proxy if
157
requested instead of letting each protocol specific connection function
160
- ssh_connect: tunnel through HTTP proxy if requested
162
- LWIP: don't consider HAVE_ERRNO_H to be winsock
164
The check for Winsock definition was a bit too broad
166
Bug: http://curl.haxx.se/mail/lib-2012-03/0046.html
168
- [Dave Reisner brought this change]
170
curl-config: only provide libraries with --libs
172
In line with the manpage, curl-config --libs should only provide the necessary
173
library flags for the linker in order to compile software with libcurl. Also
174
with this change, we match what the pkg-config file provides.
176
- CONTRIB: Please don't send pull requests
178
- libcurl docs: version corrections
180
Correct some inconsistencies in which version some things were added.
182
Bug: http://curl.haxx.se/bug/view.cgi?id=3494091
183
Reported by: "curlybugs"
185
- CONNECT: fix ipv6 address in the Request-Line
187
Commit 466150bc64d fixed the Host: header with CONNECT, but I then
188
forgot the preceeding request-line. Now this too uses [brackets]
189
properly if a ipv6 numerical address was given.
191
Bug: http://curl.haxx.se/bug/view.cgi?id=3493129
192
Reported by: "Blacat"
194
- [Steve Holme brought this change]
196
SMTP: Added support for returning SMTP response codes
198
Set the conn->data->info.httpcode variable in smtp_statemach_act() to
199
allow Curl_getinfo() to return the SMTP response code via the
200
CURLINFO_RESPONSE_CODE action.
202
- curl.1: updated --libcurl
204
With Colin Hogben's recent work, --libcurl now also works with -F and
205
more. Remove the previous caveat.
207
- test: --libcurl fixes
209
The line endings broke when I saved the three recent patches (my fault,
210
not Colin's) to 'git am' them.
212
Adjusted the stripping of the test program for comparing to also exclude
213
the SSH key file name as that will differ and use a local path name.
215
- [Colin Hogben brought this change]
217
Add helper script convsrctest.pl to manipulate --libcurl tests.
219
The intention is to take the output of curl's --libcurl option,
220
as exercised in test 14xx, and generate a corresponding test15xx
221
in which the generated code is compiled and run. This will verify
222
that the generated code behaves equivalently to the original
223
invocation of the curl command.
225
The script is not yet integrated into the configure / makefile
228
- [Colin Hogben brought this change]
230
Add tests for curl's --libcurl output.
232
These tests check the output of the --libcurl option of curl,
233
including the improved option handling added in a related patch.
235
- [Colin Hogben brought this change]
237
Generate lists and use symbols in --libcurl code output.
239
This patch improves the output of curl's --libcurl option by
240
generating code which builds curl_httppost and curl_slist lists, and
241
uses symbolic names for enum and flag values. Variants of the
242
my_setopt macro in tool_setopt.h are added in order to pass extra type
243
information to the code-generation step in tool_setopt.c.
245
If curl is configured with --disable-libcurl-option then the macros
246
call curl_easy_setopt directly.
248
- [Steve Holme brought this change]
250
smtp.c: Fixed an issue with writing postdata
252
Fixed a problem in smtp_done() when writing out the postdata as
253
Curl_write() would periodically return zero bytes written.
255
- CURLOPT_MAIL_AUTH: added in 7.25.0
257
Brought in commit 0cf0ab6f300
259
- pop3 test server: send terminating ".CRLF" only
261
With commit 035ef06bda7 applied, the test pop3 server needs to send
262
".\r\n" as the body terminating sequence and there needs to be a final
263
CRLF in the actual body in the test data file.
265
- [Steve Holme brought this change]
267
pop3.c: Fixed drop of final CRLF in EOB checking
269
Curl_pop3_write() would drop the final CRLF of a message as it was
270
considered part of the EOB as opposed to part of the message. Whilst
271
the EOB sequence needs to be searched for by the function only the
272
final 3 characters should be removed as per RFC-1939 section 3.
274
Reported by: Rich Gray
275
Bug: http://curl.haxx.se/mail/lib-2012-02/0051.html
277
- [Steve Holme brought this change]
279
smtp.c: Fixed an issue with the EOB checking
281
Curl_smtp_escape_eob() would leave off final CRLFs from emails ending
282
in multiple blank lines additionally leaving the smtpc->eob variable
283
with the character count in, which would cause problems for additional
284
emails when sent through multiple calls to curl_easy_perform() after a
285
CURLOPT_CONNECT_ONLY.
287
- CURLE_FTP_PRET_FAILED: listed twice
289
Make sure it is mentioned once and with the correct description
291
- --mail-auth documented
293
- [Steve Holme brought this change]
295
SMTP: Code policing and tidy up
297
- [Steve Holme brought this change]
299
curl: Added support for --mail-auth
301
Added an extra command-line argument to support the optional AUTH
302
parameter in SMTPs MAIL FROM command.
304
Kamil Dudka (16 Feb 2012)
305
- docs: mention that NTLM works with NSS, too
307
Daniel Stenberg (15 Feb 2012)
308
- [Steve Holme brought this change]
310
DOCS: Added information for CURLOPT_MAIL_AUTH.
312
Added information relating to the new CURLOPT_MAIL_AUTH parameter and
313
reworked CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT to be a clearer.
315
Fixed inconsistencies of "vocalisation of the abbreviation" versus
316
"vocalisation of the first word" for all abbreviations.
318
Corrected a typo in CURLOPT_NOPROXY.
320
- [Steve Holme brought this change]
322
smtp.c: Fixed use of angled brackets in AUTH parameter.
324
Fixed the use of angled brackets "<>" in the optional AUTH parameter as
325
per RFC-2554 section 5. The address should not include them but an
326
empty address should be replaced by them.
328
- [Steve Holme brought this change]
330
smtp_mail: Added support to MAIL FROM for the optional AUTH parameter
332
Added a new CURLOPT_MAIL_AUTH option that allows the calling program to
333
set the optional AUTH parameter in the MAIL FROM command.
335
When this option is specified and an authentication mechanism is used
336
to communicate with the mail server then the AUTH parameter will be
337
included in the MAIL FROM command. This is particularly useful when the
338
calling program is acting as a relay in a trusted environment and
339
performing server to server communication, as it allows the relaying
340
server to specify the address of the mailbox that was used to
341
authenticate and send the original email.
343
- [toddouska brought this change]
345
cyassl: update to CyaSSL 2.0.x API
347
Modify configure.ac to test for new CyaSSL Init function and remove
348
default install path to system. Change to CyaSSL OpenSSL header and
349
proper Init in code as well.
351
Note that this no longer detects or works with CyaSSL before v2
353
- LIBCURL_VERSION_NUM: 0x071900
355
I accidentally left the lowest bits 01 before
357
- [Steve Holme brought this change]
359
SMTP: Fixed error when using CURLOPT_CONNECT_ONLY
361
Fixed incorrect behavior in smtp_done() which would cause the end of
362
block data to be sent to the SMTP server if libcurl was operating in
363
connect only mode. This would cause the server to return an error as
364
data would not be expected which in turn caused libcurl to return
369
We will go straight to 7.25.0 due to the new additions
371
- curlver.h: bumped to 7.25.0
373
and updated the end year in the generic copyright string
375
- RELEASE-NOTES: synced with 2b26eb985
377
9 bug fixes, 4 changes and numerous contributors
379
Bumped release version and option counters
381
- [Colin Hogben brought this change]
383
configure: add option disable --libcurl output
385
- [Alessandro Ghedini brought this change]
387
curl tool: allow negative numbers as option values
389
Fix the str2num() function to not check if the input string starts with a
390
digit, since strtol() supports numbers prepended with '-' (and '+') too.
391
This makes the --max-redirs option work as documented.
393
- parse_proxy: simply memory handling
395
... by making sure that the string is always freed after the invoke as
396
parse_proxy will always copy the data and this way there's a single
397
free() instead of multiple ones.
399
- parse_proxy: bail out on zero-length proxy names!
401
The proxy parser function strips off trailing slashes off the proxy name
402
which could lead to a mistaken zero length proxy name which would be
403
treated as no proxy at all by subsequent functions!
405
This is now detected and an error is returned. Verified by the new test
408
Reported by: Chandrakant Bagul
409
Bug: http://curl.haxx.se/mail/lib-2012-02/0000.html
411
Kamil Dudka (9 Feb 2012)
412
- nss: add support for the CURLSSLOPT_ALLOW_BEAST option
414
... and fix some typos from the 62d15f1 commit.
416
Daniel Stenberg (9 Feb 2012)
417
- [Rob Ward brought this change]
419
configure: don't modify LD_LIBRARY_PATH for cross compiles
421
- --ssl-allow-beast added
423
This new option tells curl to not work around a security flaw in the
424
SSL3 and TLS1.0 protocols. It uses the new libcurl option
425
CURLOPT_SSL_OPTIONS with the CURLSSLOPT_ALLOW_BEAST bit set.
427
- CURLOPT_SSL_OPTIONS: added
429
Allow an appliction to set libcurl specific SSL options. The first and
430
only options supported right now is CURLSSLOPT_ALLOW_BEAST.
432
It will make libcurl to disable any work-arounds the underlying SSL
433
library may have to address a known security flaw in the SSL3 and TLS1.0
436
This is a reaction to us unconditionally removing that behavior after
437
this security advisory:
439
http://curl.haxx.se/docs/adv_20120124B.html
441
... it did however cause a lot of programs to fail because of old
442
servers not liking this work-around. Now programs can opt to decrease
443
the security in order to interoperate with old servers better.
445
- [Dave Reisner brought this change]
447
curl: use new library-side TCP_KEEPALIVE options
449
Use the new library CURLOPT_TCP_KEEPALIVE rather than disabling this via
450
the sockopt callback. If --keepalive-time is used, apply the value to
451
CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL.
453
- [Dave Reisner brought this change]
455
add library support for tuning TCP_KEEPALIVE
457
This adds three new options to control the behavior of TCP keepalives:
459
- CURLOPT_TCP_KEEPALIVE: enable/disable probes
460
- CURLOPT_TCP_KEEPIDLE: idle time before sending first probe
461
- CURLOPT_TCP_KEEPINTVL: delay between successive probes
463
While not all operating systems support the TCP_KEEPIDLE and
464
TCP_KEEPINTVL knobs, the library will still allow these options to be
465
set by clients, silently ignoring the values.
467
- curl_easy_reset: reset the referer string
469
When CURLOPT_REFERER has been used, curl_easy_reset() did not properly
472
Verified with the new test 598
474
Bug: http://curl.haxx.se/bug/view.cgi?id=3481551
475
Reported by: Michael Day
477
Yang Tse (7 Feb 2012)
478
- curl tool: allow glob-loops to abort again upon critical errors
480
This prevents clobbering of non recoverable error return codes while
481
retaining intended functionality of commit 65103efe
483
Daniel Stenberg (6 Feb 2012)
484
- curl tool: don't abort glob-loop due to failures
486
We want to continue to the next URL to try even on failures returned
487
from libcurl. This makes -f with ranges still get subsequent URLs even
488
if occasional ones return error. This was a regression as it used to
489
work and broke in the 7.23.0 release.
491
Added test case 1328 to verify the fix.
493
Bug: http://curl.haxx.se/bug/view.cgi?id=3481223
494
Reported by: Juan Barreto
496
- CONNECT: send correct Host: with IPv6 numerical address
498
When the target host was given as a IPv6 numerical address, it was not
499
properly put within square brackets for the Host: header in the CONNECT
500
request. The "normal" request did fine.
502
Reported by: "zooloo"
503
Bug: http://curl.haxx.se/bug/view.cgi?id=3482093
505
- [Martin Storsjo brought this change]
507
Explicitly link to the nettle/gcrypt libraries
509
When support for nettle was added in 64f328c787ab, I overlooked
510
the fact that AC_CHECK_LIB doesn't add the tested lib to LIBS
511
if the check succeeded, if a custom success code block was present.
512
(The previous version of the check had an empty block for
513
successful checks, adding the lib to LIBS implicitly.)
515
Therefore, explicitly add either nettle or gcrypt to LIBS, after
516
deciding which one to use. Even if they can be linked in
517
transitively, it is safer to actually link explicitly to them.
519
This fixes building with gnutls with linkers that don't allow
520
linking transitively, such as for windows.
522
- [Pierre Ynard brought this change]
524
more resilient connection times among IP addresses
526
When connecting to a domain with multiple IP addresses, allow different,
527
decreasing connection timeout values. This should guarantee some
528
connections attempts with sufficiently long timeouts, while still
531
- [Pierre Ynard brought this change]
533
remove write-only variable
535
Pierre Joye (26 Jan 2012)
536
- Merge branch 'master' of github.com:bagder/curl
538
- - fix IPV6 and IDN options
540
Yang Tse (25 Jan 2012)
541
- TODO-RELEASE: added item #308
543
Daniel Stenberg (25 Jan 2012)
544
- THANKS: imported contributors from 7.24.0 RELEASE-NOTES
546
Yang Tse (25 Jan 2012)
547
- test harness: update stunnel.pem Diffie-Hellman parameters from 512 to 1024 bit
549
- version: start working on 7.24.1-DEV
551
Dan Fandrich (24 Jan 2012)
552
- curl_easy_setopt.3: Fixed SEEKDATA & CLOSESOCKETDATA descriptions
9
554
Version 7.24.0 (24 Jan 2012)
11
556
Daniel Stenberg (24 Jan 2012)
4742
5287
- Don't list NTLM in curl-config when HTTP is disabled
4744
5289
Also, fixed Curl_proxyCONNECT() stub with HTTP disabled.
4746
- Fixed compatibility macro CURLE_URL_MALFORMAT_USER
4748
Daniel Stenberg (5 Apr 2011)
4749
- return code cleanup: build, init and run-time errors
4751
Stop the abuse of CURLE_FAILED_INIT as return code for things not being
4752
init related by introducing two new return codes:
4754
CURLE_NOT_BUILT_IN and CURLE_UNKNOWN_OPTION
4756
CURLE_NOT_BUILT_IN replaces return code 4 that has been obsoleted for
4757
several years. It is used for returning error when something is
4758
attempted to be used but the feature/option was not enabled or
4759
explictitly disabled at build-time. Getting this error mostly means that
4760
libcurl needs to be rebuilt.
4762
CURLE_FAILED_INIT is now saved and used strictly for init
4763
failures. Getting this problem means something went seriously wrong,
4764
like a resource shortage or similar.
4766
CURLE_UNKNOWN_OPTION is the option formerly known as
4767
CURLE_UNKNOWN_TELNET_OPTION (and the old name is still present,
4768
separately defined to be removed in a very distant future). This error
4769
code is meant to be used to return when an option is given to libcurl
4770
that isn't known. This problem would mostly indicate a problem in the
4771
program that uses libcurl.
4773
- FTP+proxy: macrofied functions when proxy disabled
4775
In my attempts to reduce #ifdefs in code, the SOCKS functions are now
4776
macros when libcurl is built without proxy support and therefore the FTP
4777
code could avoid some #ifs.
4779
- RELEASE-NOTES: synced with db59b6202d8
4781
- [Ben Noordhuis brought this change]
4783
[pop3 starttls] PASS command was not sent after upgrade to TLS.
4785
- [Ben Noordhuis brought this change]
4787
[pop3 starttls] the command to send is STLS, not STARTTLS.
4789
Dan Fandrich (4 Apr 2011)
4790
- Added http_proxy.c to the Symbian build files
4792
Daniel Stenberg (4 Apr 2011)
4793
- http-proxy: move proxy code to http_proxy.c
4795
The new http_proxy.* files now host HTTP proxy specific code (500+ lines
4796
moved out from http.c), and as a consequence there is a macro introduced
4797
for the Curl_proxyCONNECT() function so that code can use it without
4798
actually supporting proxy (or HTTP) in builds.
4800
- disable cookies: remove ifdefs, move code
4802
1 - make sure to #define macros for cookie functions in the cookie
4803
header when cookies are disabled to avoid having to use #ifdefs in code
4804
using those functions.
4806
2 - move cookie-specific code to cookie.c and use the functio
4807
conditionally as mentioned in (1).
4809
net result: 6 #if lines removed, and 9 lines of code less
4811
Kamil Dudka (4 Apr 2011)
4812
- nss: fix a crash within SSL_AuthCertificate()
4814
The bug was introduced in 806dbb0 (a wrong value was passed in as the
4815
first argument to the default callback in our wrapper).
4817
Daniel Stenberg (3 Apr 2011)
4818
- multi: shorten lines
4820
We keep them less than 80 columns
4822
- multi: conn goes bad when data change
4824
Within multi_socket when conn is used as a shorthand, data could be
4825
changed and multi_runsingle could modify the connectdata struct to deal
4826
with. This bug has not been included in a public release.
4828
Using 'conn' like that turned out to be ugly. This change is a partial
4829
revert of commit f1c6cd42f474df59.
4831
Reported by: Miroslav Spousta
4832
Bug: http://curl.haxx.se/bug/view.cgi?id=3265485
4834
Guenter Knauf (1 Apr 2011)
4835
- Increased script version.
4837
- Make use of proxy vars if set.
4839
Posted to the list by Quanah Gibson-Mount [quanah zimbra.com].
4841
- Use var again instead of hard-coded filename.
4843
Daniel Stenberg (29 Mar 2011)
4844
- [Gisle Vanem brought this change]
4848
- curl_easy_setopt.3: mention TFTP read callback flaw
4850
The read callback must return the exact requested amount of data when it
4851
is used for doing TFTP uploads. This is due to how it deals with data
4852
internally. This could/should be fixed but for now we document the
4855
Reported by: Colin Blair
4856
Bug: http://curl.haxx.se/mail/lib-2011-03/0319.html
4858
Yang Tse (27 Mar 2011)
4859
- configure: fix libtool warning
4861
Daniel Stenberg (25 Mar 2011)
4862
- [Peter Sylvester brought this change]
4864
TSL-SRP: enabled with OpenSSL
4866
If a new enough OpenSSL version is used, configure detects the TLS-SRP
4867
support and enables it.
4869
- RELEASE-NOTES: synced with 11c2db2aa2a
4871
- fix: re-use of bound connections
4873
When asked to bind the local end of a connection when doing a request,
4874
the code will now disqualify other existing connections from re-use even
4875
if they are connected to the correct remote host.
4877
This will also affect which connections that can be used for pipelining,
4878
so that only connections that aren't bound or bound to the same
4879
device/port you're asking for will be considered.
4881
- symbols-in-versions: make test 1119 happy
4883
- rtsp: move protocol code to dedicated file
4885
The RTSP-specific function for checking for "dead" connection is better
4886
located in rtsp.c. The code using this is now written without #ifdefs as
4887
the function call is instead turned into a macro (in rtsp.h) when RTSP
4890
- MAIL-ETIQUETTE: intro and spam
4892
Added a little generic info section about the lists and a section about
4893
how to deal with trolls and spam on the lists.
4895
- TODO-RELEASE: 1 fixed, 1 notabug
4899
271 - fix the IPv6-working probing to only exist at one place in the code and
4902
A problem not repeatable and no proper recipe given and therefore simply
4903
removed for now until we hear something else:
4905
282 - 100 Continue responses should return the "final" HTTP response code:
4906
"Getting the HTTP response code following a 100 Continue"
4908
- ipv6: only probe once
4910
Move ipv6-functional-probe into a single function that is used from all
4911
places that need to know.
4913
Make the probe function store the result in a static variable so that
4914
subsequent invokes just returns the previous result and won't have to
4917
- headers: more copyright headers added
4919
- MAIL-ETIQUETTE: how to behave
4921
This is a new documentation for the source tree. This information has
4922
been present since a long time at
4923
http://curl.haxx.se/mail/etiquette.html but now it is put into a plain
4924
text version too for wider distribution. The web version will be
4925
automatically generated from this source document.
4927
Julien Chaffraix (21 Mar 2011)
4928
- progress: don't print the last update on a separate line.
4930
Curl_posttransfer is called too soon to add the final new line.
4931
Moved the new line logic to pgrsDone as there is no more call to
4932
update the progress status after this call.
4934
Reported by: Dmitri Shubin <sbn_at_tbricks.com>
4935
http://curl.haxx.se/mail/lib-2010-12/0162.html
4937
Daniel Stenberg (21 Mar 2011)
4938
- TODO-RELEASE: fixed 2, got 3 new!
4940
- [Dave Reisner brought this change]
4942
libcurl.m4: Add missing quotes in AC_LINK_IFELSE
4944
This avoids warnings generated by autoconf 2.68.
4946
Signed-off-by: Dave Reisner <d@falconindy.com>
4948
- retry-request: rewind if data was sent
4950
When libcurl sends a HTTP request on a re-used connection and detects it
4951
being closed (ie no data at all was read from it), it is important to
4952
rewind if any data in the request was sent using the read callback or
4953
was read from file, as otherwise the retried request will be broken.
4955
Reported by: Chris Smowton
4956
Bug: http://curl.haxx.se/bug/view.cgi?id=3195205
4958
- configure: avoid $VERSION
4960
To reduce the risk of variable name conflicts, use CURLVERSION instead
4963
- symbols-in-versions: many corrections
4965
Scanned with a tool that checked for mistakes and this is the subsequent
4968
Julien Chaffraix (20 Mar 2011)
4969
- unit1305: Fixed the test to match our coding style.
4971
- url: 0 is PROTOPT_NONE.
4973
Tiny tweak after Daniel's refactoring of the protocol handlers.
4975
Daniel Stenberg (19 Mar 2011)
4976
- pop3: add state name in debug array
4978
We have an array with the state names only built and used when built
4979
debug enabled and this need to list all the states from the .h
4981
Dan Fandrich (18 Mar 2011)
4982
- Added two more POP3 tests
4984
- pop3: use Curl_safefree() to allow torture tests to succeed
4986
Daniel Stenberg (18 Mar 2011)
4987
- symbol-scan.pl: detect duplicates
4989
Test 1119 now also makes sure that symbols-in-versions doesn't contain
4992
- CONTRIBUTE: minor edits
4994
Slightly modified to become a nicer web page when converted for the site
4996
- RELEASE-NOTES: synced with 0c05ee3a33d4d7
4998
- pop3: remove unused variable
5000
Dan Fandrich (17 Mar 2011)
5001
- Added support for LISTing a single POP3 message
5003
Added tests for a number of POP3 LIST operations, including one
5004
that shows a curl problem when listing no messages, so is
5007
- pop3: fixed memory leak in an error retrieval case
5009
Daniel Stenberg (17 Mar 2011)
5010
- symbols-in-versions: remove duplicates
5012
- symbols-in-versions: 2 corrections
5014
CURLE_CHUNK_FAILED and CURLE_FTP_BAD_FILE_LIST were introduced in
5017
- connection setup: if HTTP is disabled asking for HTTP proxy is bad
5019
- FAQ: better english
5021
Reported by: Andre Guibert de Bruet
5023
- scan-build warning
5025
Value stored to 'len' is never read
5027
- ldap_recv: check return code from ldap_get_dn_ber
5029
- compiler warnings fixed
5031
Use (void)[variable] to inhibit unused argument/variables warnings.
5033
- [Ben Noordhuis brought this change]
5035
SMTP-multi: non-blocking connect
5037
Use Curl_ssl_connect_nonblocking() when upgrading the connection to
5038
TLS/SSL while using the multi interface.
5040
- [Ben Noordhuis brought this change]
5042
SMTP in multi mode: use Curl_ssl_connect_nonblocking() when connecting.
5044
- lib582: use curl_socket_t for portability
5046
- buildfix: spell define correctly
5048
Kamil Dudka (15 Mar 2011)
5049
- nss: do not ignore value of CURLOPT_SSL_VERIFYPEER
5051
When NSS-powered libcurl connected to a SSL server with
5052
CURLOPT_SSL_VERIFYPEER equal to zero, NSS remembered that the peer
5053
certificate was accepted by libcurl and did not ask the second time when
5054
connecting to the same server with CURLOPT_SSL_VERIFYPEER equal to one.
5056
This patch turns off the SSL session cache for the particular SSL socket
5057
if peer verification is disabled. In order to avoid any performance
5058
impact, the peer verification is completely skipped in that case, which
5059
makes it even faster than before.
5061
Bug: https://bugzilla.redhat.com/678580
5063
Guenter Knauf (15 Mar 2011)
5064
- Removed unused var.
5066
Daniel Stenberg (15 Mar 2011)
5067
- configure: stop using the deprecated AM_INIT_AUTOMAKE syntax
5069
- protocol handler cleanup: SSL awareness
5071
As a follow-up to commit 8831000bc0: don't assume that the SSL powered
5072
protocol alternatives are available.
5074
- ldap: use the new protocol handler setup
5076
Use the new flags field and stop using the old protocol defines.
5078
- TODO-RELEASE: add and remove issues
5080
Removed a fixed issue, added five new existing ones and clarified one of
5083
- protocols: use CURLPROTO_ internally
5085
The PROT_* set of internal defines for the protocols is no longer
5086
used. We now use the same bits internally as we have defined in the
5087
public header using the CURLPROTO_ prefix. This is for simplicity and
5088
because the PROT_* prefix was already used duplicated internally for a
5091
The PROTOPT_* defines were moved up to just below the struct definition
5092
within which they are used.
5094
- protocol handler: added flags field
5096
The protocol handler struct got a 'flags' field for special information
5097
and characteristics of the given protocol.
5099
This now enables us to move away central protocol information such as
5100
CLOSEACTION and DUALCHANNEL from single defines in a central place, out
5101
to each protocol's definition. It also made us stop abusing the protocol
5102
field for other info than the protocol, and we could start cleaning up
5103
other protocol-specific things by adding flags bits to set in the
5106
The "protocol" field connectdata struct was removed as well and the code
5107
now refers directly to the conn->handler->protocol field instead. To
5108
make things work properly, the code now always store a conn->given
5109
pointer that points out the original handler struct so that the code can
5110
learn details from the original protocol even if conn->handler is
5111
modified along the way - for example when switching to go over a HTTP
5114
Patrick Monnerat (14 Mar 2011)
5115
- - Take new char * options into account in OS400 curl_easy_setopt_ccsid().
5116
- Keep RPG binding, STRING_* table end check and OS400 README up to date.
5118
Daniel Stenberg (14 Mar 2011)
5119
- FAQ: indent tables
5121
Lines that are indented with at least 5 spaces get special treatment by
5122
the script that converts it to HTML on the site.
5124
- sslgen: define Curl_ssl_connect_nonblocking for non-SSL
5126
The non-blocking connect improvement for IMAP showed that we didn't
5127
properly define the Curl_ssl_connect_nonblocking function for non-SSL
5130
Reported by: Tor Arntsen
5132
- configure: removed wrongly claimed default paths
5134
Several --with-XXX options claimed the wrong default path in their help
5137
Reported by: Vincent Torri
5139
- [Ask Bjørn Hansen brought this change]
5141
mk-ca-bundle.pl: Only download if modified
5143
Only download and convert the certdata to the ca-bundle.crt if Mozilla
5146
The Perl LWP module (which in a bit of a circular reference is used by
5147
mk-ca-bundle.pl) is now indirectly using this script. I made this small
5148
tweak to make it easier to automatically maintain the generated
5149
ca-bundle.crt file in version control.
5151
- SSH: add protocol lock direction
5153
Some protocols have to call the underlying functions without regard to
5154
what exact state the socket signals. For example even if the socket says
5155
"readable", the send function might need to be called while uploading,
5156
or vice versa. This is the case for libssh2 based protocols: SCP and
5157
SFTP and we now introduce a define to set those protocols and we make
5158
the multi interface code aware of this concept.
5160
This is another fix to make test 582 run properly.
5162
- state: add missing state to debug table
5164
As a new state recently was added to the IMAP state machine it has to be
5165
in the array of names as well as otherwise libcurl crashes when a debug
5168
- test 582: enabled again
5170
Commit ca37692bf43b5ef should now hopefully make it run
5172
- ssh_statemach_act: set cselect for sftp upload
5174
For uploads we want to use the _sending_ function even when the socket
5175
turns out readable as the underlying libssh2 sftp send function will
5176
deal with both accordingly. This is what the cselect_bits magic is for.
5180
- RELEASE-NOTES: synced with e649a7baae2
5182
- Revert "test582: enabled"
5184
This reverts commit b8478187406cf625c9d0f10b45a082221130cc92.
5186
- Merge branch 'imap' of https://github.com/bnoordhuis/curl into bnoordhuis-imap
5188
- TODO-RELEASE: fixed four isues
5190
These issues are now addressed:
5192
276 - Karl M's vc makefile patch
5193
277 - The "Stall when uploading to sftp using multi interface" bug
5194
279 - curl_multi_remove_handle() crashes
5195
280 - Marcus Sundberg's gss patch
5197
- [Karl M brought this change]
5199
VC: add missing file
5201
http_negotiate_sspi.c was added to the source tree recently
5203
- [Marcus Sundberg brought this change]
5205
GSS: handle reuse fix
5207
Make GSS authentication work when a curl handle is reused for multiple
5208
authenticated requests, by always setting negdata->state in
5209
output_auth_headers().
5211
Signed-off-by: Marcus Sundberg <marcus.sundberg@aptilo.com>
5213
- test583: verify early SSH multi remove handle
5215
This test case is meant to verify that the logic in commit
5216
60172a0446bbe3f8b actually works. This test failed for me before that
5217
change and it works after it.
5219
- SFTP: gracefully handle shutdown early
5221
When using the multi interface and a handle using SFTP was removed very
5222
early on, we would get a segfault due to the code assumed data was there
5223
that hadn't yet been setup.
5225
Bug: http://curl.haxx.se/mail/lib-2011-03/0066.html
5226
Reported by: Saqib Ali
5228
- [Manuel Massing brought this change]
5230
CURL_CHECK_FUNC_RECVFROM: android/bionic fix
5232
recvfrom in bionic (the android libc) deviates from POSIX and uses a
5233
const in the 5th argument ("const struct sockaddr *") so the check now
5234
tests for that as well.
5238
- PROT_CLOSEACTION: added SFTP and SCP
5240
Both SFTP and SCP are protocols that need to shut down stuff properly
5241
when the connection is about to get torned down. The primary effect of
5242
not doing this shows up as memory leaks (when using SCP or SFTP with the
5245
This is one of the problems detected by test 582.
5247
- readwrite_upload: stop upload at file size
5249
As we know how much to send, we can and should stop once we've sent that
5250
much data as it avoids having to rely on other mechanisms to detect the
5253
This is one of the problems detected by test 582.
5255
Reported by: Henry Ludemann <misc@hl.id.au>
5257
- sftp upload: expire to advance state machine
5259
When using the multi_socket API to do SFTP upload, it is important that
5260
we set a quick expire when leaving the SSH_SFTP_UPLOAD_INIT state as
5261
there's nothing happening on the socket so there's no read or write to
5262
wait for, but the next libssh2 API function needs to be called to get
5265
This is one of the problems detected by test 582.
5267
Reported by: Henry Ludemann <misc@hl.id.au>
5269
- test582: improved info messages