platform/upstream/curl.git
16 years ago- Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an
Daniel Stenberg [Mon, 31 Mar 2008 10:02:23 +0000 (10:02 +0000)]
- Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an
  application to provide data for a multipart with the read callback. Note
  that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the
  stream option is used. This feature is verified by the new test case
  554. This feature was sponsored by Xponaut.

16 years agoChanged the makefile so the doc/examples/ programs are never built in a
Dan Fandrich [Mon, 31 Mar 2008 03:01:13 +0000 (03:01 +0000)]
Changed the makefile so the doc/examples/ programs are never built in a
normal build/install (only with the 'make check' target), so that a
build failure in the examples isn't fatal.

16 years agoadded people from the 7.18.1 release announcement
Daniel Stenberg [Sun, 30 Mar 2008 09:30:15 +0000 (09:30 +0000)]
added people from the 7.18.1 release announcement

16 years agoback to a blank for 7.18.2
Daniel Stenberg [Sun, 30 Mar 2008 09:22:45 +0000 (09:22 +0000)]
back to a blank for 7.18.2

16 years agostart working on 7.18.2
Daniel Stenberg [Sun, 30 Mar 2008 09:22:22 +0000 (09:22 +0000)]
start working on 7.18.2

16 years ago7.18.1
Daniel Stenberg [Sun, 30 Mar 2008 09:11:35 +0000 (09:11 +0000)]
7.18.1

16 years ago132 - Xponaut's CURLFORM_STREAM option to curl_formadd()
Daniel Stenberg [Sun, 30 Mar 2008 09:08:40 +0000 (09:08 +0000)]
132 - Xponaut's CURLFORM_STREAM option to curl_formadd()

16 years agoI'm officially pushing the two remaining issues to the next release instead,
Daniel Stenberg [Sun, 30 Mar 2008 09:07:08 +0000 (09:07 +0000)]
I'm officially pushing the two remaining issues to the next release instead,
since they're still not clear enough to be to sort about before 7.18.1

16 years agoMade the test work on perl 5.00
Dan Fandrich [Fri, 28 Mar 2008 18:19:11 +0000 (18:19 +0000)]
Made the test work on perl 5.00

16 years ago- Stephen Collyer pointed out that configure --with-libssh2 without a given
Daniel Stenberg [Thu, 27 Mar 2008 23:13:57 +0000 (23:13 +0000)]
- Stephen Collyer pointed out that configure --with-libssh2 without a given
  path didn't work properly but now it does!

16 years agofix --with-libssh2 when given without path
Daniel Stenberg [Thu, 27 Mar 2008 23:10:24 +0000 (23:10 +0000)]
fix --with-libssh2 when given without path

16 years ago- As found out and reported by Dan Petitt, libcurl didn't show progress/call
Daniel Stenberg [Thu, 27 Mar 2008 13:07:12 +0000 (13:07 +0000)]
- As found out and reported by Dan Petitt, libcurl didn't show progress/call
  the progress callback for the first (potentially huge) piece of body data
  sent together with the POST request headers in the initial send().

16 years agospell!
Daniel Stenberg [Tue, 25 Mar 2008 19:23:26 +0000 (19:23 +0000)]
spell!

16 years ago- Made setting the CURLOPT_SSL_CTX_FUNCTION option return a failure in case
Daniel Stenberg [Tue, 25 Mar 2008 19:19:49 +0000 (19:19 +0000)]
- Made setting the CURLOPT_SSL_CTX_FUNCTION option return a failure in case
  libcurl wasn't built to use OpenSSL as that is a prerequisite for this
  option to function!

16 years agospell it out loudly and clearly that CURLOPT_SSL_CTX_FUNCTION is only
Daniel Stenberg [Tue, 25 Mar 2008 19:17:26 +0000 (19:17 +0000)]
spell it out loudly and clearly that CURLOPT_SSL_CTX_FUNCTION is only
functional if libcurl is built against OpenSSL

16 years ago- Fixed the problem with doing a zero byte SCP transfer, verified with test
Daniel Stenberg [Sat, 22 Mar 2008 22:00:21 +0000 (22:00 +0000)]
- Fixed the problem with doing a zero byte SCP transfer, verified with test
  case 617 (which was added by Daniel Fandrich 5 Mar 2008).

16 years agoroadmap ahead
Daniel Stenberg [Fri, 21 Mar 2008 11:53:59 +0000 (11:53 +0000)]
roadmap ahead

16 years agoJes reported the curl-config bug
Dan Fandrich [Thu, 20 Mar 2008 20:16:01 +0000 (20:16 +0000)]
Jes reported the curl-config bug

16 years agoFixed a problem where curl-config --protocols could erroneously show LDAPS
Dan Fandrich [Thu, 20 Mar 2008 20:08:44 +0000 (20:08 +0000)]
Fixed a problem where curl-config --protocols could erroneously show LDAPS
support when curl didn't even have regular LDAP support.  It looks like
this could happen when the --enable-ldaps configure switch is given but
configure couldn't find the LDAP headers or libraries.

16 years agoadded --extvercmd parameter which can be used to specify an external command to displ...
Gunter Knauf [Thu, 20 Mar 2008 16:10:54 +0000 (16:10 +0000)]
added --extvercmd parameter which can be used to specify an external command to display 'curl --version', f.e. with MinW32 crosscompile --extvercmd=/usr/bin/wine can be used.

16 years ago- Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
Michal Marek [Thu, 20 Mar 2008 08:09:23 +0000 (08:09 +0000)]
- Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
  default instead of a ca bundle. The configure script will also look for a
  ca path if no ca bundle is found and no option given.

- Fixed detection of previously installed curl-ca-bundle.crt

16 years agoFixed an infinite loop when given an invalid SFTP quote command.
Dan Fandrich [Tue, 18 Mar 2008 22:59:04 +0000 (22:59 +0000)]
Fixed an infinite loop when given an invalid SFTP quote command.

16 years agoAdded test 626 to reproduce an infinite loop when given an invalid
Dan Fandrich [Tue, 18 Mar 2008 17:05:29 +0000 (17:05 +0000)]
Added test 626 to reproduce an infinite loop when given an invalid
SFTP quote command reported by Vincent Le Normand, but left it disabled.

16 years ago- Added curl_easy_getinfo typechecker.
Michal Marek [Tue, 18 Mar 2008 08:14:37 +0000 (08:14 +0000)]
- Added curl_easy_getinfo typechecker.

- Added macros for curl_share_setopt and curl_multi_setopt to check at least
  the correct number of arguments.

16 years agoMark the statement expr with __extension__ so that gcc -pedantic doesn't emit
Michal Marek [Mon, 17 Mar 2008 14:22:10 +0000 (14:22 +0000)]
Mark the statement expr with __extension__ so that gcc -pedantic doesn't emit
any hard-to-grasp warnings in curl_easy_setopt() calls in applications.
Also delete superfluous semicolons.

16 years agoSpell the commands right
Dan Fandrich [Sat, 15 Mar 2008 01:03:23 +0000 (01:03 +0000)]
Spell the commands right

16 years agoAdded tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to
Dan Fandrich [Thu, 13 Mar 2008 22:51:39 +0000 (22:51 +0000)]
Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to
reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that
seems to need a call curl_easy_reset() which this test case doesn't do.

16 years ago- Brian Ulm figured out that if you did an SFTP upload with
Daniel Stenberg [Thu, 13 Mar 2008 21:43:39 +0000 (21:43 +0000)]
- Brian Ulm figured out that if you did an SFTP upload with
  CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
  handle and uploaded another file to another directory that needed to be
  created, the second upload would fail. Another case of a state variable that
  wasn't properly reset between requests.

- I rewrote the 100-continue code to use a single state variable instead of
  the previous two ones. I think it made the logic somewhat clearer.

16 years ago- Brian Ulm figured out that if you did an SFTP upload with
Daniel Stenberg [Thu, 13 Mar 2008 21:43:30 +0000 (21:43 +0000)]
- Brian Ulm figured out that if you did an SFTP upload with
  CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
  handle and uploaded another file to another directory that needed to be
  created, the second upload would fail. Another case of a state variable that
  wasn't properly reset between requests.

16 years agoChange the confusing two variables for the expect 100 continue stuff into
Daniel Stenberg [Thu, 13 Mar 2008 20:56:13 +0000 (20:56 +0000)]
Change the confusing two variables for the expect 100 continue stuff into
a single state variable to make the code easier to follow and understand.

16 years ago--ftp-create-dirs works on SFTP as well
Dan Fandrich [Thu, 13 Mar 2008 20:49:06 +0000 (20:49 +0000)]
--ftp-create-dirs works on SFTP as well

16 years agofix code that is normally #ifdef'ed out
Daniel Stenberg [Thu, 13 Mar 2008 12:36:22 +0000 (12:36 +0000)]
fix code that is normally #ifdef'ed out

16 years agoDone: 125 - Michal Marek's typechecker-gcc work
Daniel Stenberg [Wed, 12 Mar 2008 13:14:09 +0000 (13:14 +0000)]
Done: 125 - Michal Marek's typechecker-gcc work

16 years agoupdated according to the name resolve race condition fix just committed
Daniel Stenberg [Tue, 11 Mar 2008 22:58:52 +0000 (22:58 +0000)]
updated according to the name resolve race condition fix just committed

16 years ago- Dmitry Popov filed bug report #1911069
Daniel Stenberg [Tue, 11 Mar 2008 22:55:23 +0000 (22:55 +0000)]
- Dmitry Popov filed bug report #1911069
  (http://curl.haxx.se/bug/view.cgi?id=1911069) that identified a race
  condition in the name resolver code when the DNS cache is shared between
  multiple easy handles, each running in simultaneous threads that could cause
  crashes.

16 years ago- Added a macro for curl_easy_setopt() that accepts three arguments and simply
Daniel Stenberg [Tue, 11 Mar 2008 13:14:16 +0000 (13:14 +0000)]
- Added a macro for curl_easy_setopt() that accepts three arguments and simply
  does nothing with them, just to make sure libcurl users always use three
  arguments to this function. Due to its use of ... for the third argument, it
  is otherwise hard to detect abuse.

16 years agoRecommend passing a 1 as parameter to CURLOPT_SSLENGINE_DEFAULT rather than
Daniel Stenberg [Tue, 11 Mar 2008 12:18:00 +0000 (12:18 +0000)]
Recommend passing a 1 as parameter to CURLOPT_SSLENGINE_DEFAULT rather than
a "dummy" just to get things as fixed as possible in case we ever get the urge
to change this to actually mean something.

16 years ago- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
Michal Marek [Tue, 11 Mar 2008 07:37:40 +0000 (07:37 +0000)]
- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
  works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html ,
  http://curl.haxx.se/mail/lib-2008-02/0292.html )

16 years agoAdded tests 618-621 to test SFTP/SCP transfers of more than one file
Dan Fandrich [Mon, 10 Mar 2008 19:40:27 +0000 (19:40 +0000)]
Added tests 618-621 to test SFTP/SCP transfers of more than one file
(test 620 tests the just-fixed problem reported by Brian Ulm).

16 years agofixed typo
Michal Marek [Mon, 10 Mar 2008 14:32:19 +0000 (14:32 +0000)]
fixed typo

16 years ago(try to) use LIBS for libraries (-l) and LDFLAGS for paths (-L) in the
Michal Marek [Mon, 10 Mar 2008 09:56:49 +0000 (09:56 +0000)]
(try to) use LIBS for libraries (-l) and LDFLAGS for paths (-L) in the
gssapi check. Cleans up curl-config --libs output when REQUIRE_LIB_DEPS=no

16 years ago- Brian Ulm reported a crash when doing a second SFTP transfer on a re-used
Daniel Stenberg [Sun, 9 Mar 2008 11:37:48 +0000 (11:37 +0000)]
- Brian Ulm reported a crash when doing a second SFTP transfer on a re-used
  easy handle if curl_easy_reset() was used between them. I fixed it and Brian
  verified that it cured his problem.

- Brian Ulm reported that if you first tried to download a non-existing SFTP
  file and then fetched an existing one and re-used the handle, libcurl would
  still report the second one as non-existing as well! I fixed it abd Brian
  verified that it cured his problem.

16 years agoDone: 123 - Mike Protts' SFTP resume download
Daniel Stenberg [Sat, 8 Mar 2008 22:19:11 +0000 (22:19 +0000)]
Done: 123 - Mike Protts' SFTP resume download

16 years agoVS2005 and later dafault size for time_t is 64-bit, unless
Yang Tse [Fri, 7 Mar 2008 02:49:14 +0000 (02:49 +0000)]
VS2005 and later dafault size for time_t is 64-bit, unless
_USE_32BIT_TIME_T has been defined to get a 32-bit time_t

16 years agoFix the gssapi configure check to detect newer MIT Kerberos (patch by
Michal Marek [Thu, 6 Mar 2008 17:22:45 +0000 (17:22 +0000)]
Fix the gssapi configure check to detect newer MIT Kerberos (patch by
Michael Calmer)

16 years agospellchecked
Daniel Stenberg [Thu, 6 Mar 2008 12:43:47 +0000 (12:43 +0000)]
spellchecked

16 years agocurl_multi_timeout() is really not recommended with curl_multi_socket()-based
Daniel Stenberg [Thu, 6 Mar 2008 12:37:07 +0000 (12:37 +0000)]
curl_multi_timeout() is really not recommended with curl_multi_socket()-based
usage

16 years agoRegression fix:
Yang Tse [Thu, 6 Mar 2008 03:48:33 +0000 (03:48 +0000)]
Regression fix:

select/poll calls will only be retried upon EINTR failures as
it previously was in lib/select.c revision 1.29

In this way Curl_socket_ready() and Curl_poll() will again fail
on any select/poll errors different than EINTR.

16 years agoAdded tests 616 and 617 to see how SFTP and SCP cope with zero-length
Dan Fandrich [Thu, 6 Mar 2008 01:15:28 +0000 (01:15 +0000)]
Added tests 616 and 617 to see how SFTP and SCP cope with zero-length
files, as questioned by Mike Protts. SFTP does for me but SCP doesn't
so test 617 is disabled for now.

16 years agoFixed the test harness so it will write out zero-length data files.
Dan Fandrich [Thu, 6 Mar 2008 01:11:43 +0000 (01:11 +0000)]
Fixed the test harness so it will write out zero-length data files.

16 years agofix log message used when unable to connect to destination port
Yang Tse [Wed, 5 Mar 2008 18:27:31 +0000 (18:27 +0000)]
fix log message used when unable to connect to destination port

16 years agoMike Protts brought a patch that makes resumed transfers work with SFTP.
Daniel Stenberg [Tue, 4 Mar 2008 11:53:15 +0000 (11:53 +0000)]
Mike Protts brought a patch that makes resumed transfers work with SFTP.

16 years ago- Anatoli Tubman found and fixed a crash with Negotiate authentication used on
Daniel Stenberg [Sat, 1 Mar 2008 22:32:03 +0000 (22:32 +0000)]
- Anatoli Tubman found and fixed a crash with Negotiate authentication used on
  a re-used connection where both requests used Negotiate.

16 years agoForce AIX xlc to fail and not generate object code if the source code has
Yang Tse [Fri, 29 Feb 2008 17:13:39 +0000 (17:13 +0000)]
Force AIX xlc to fail and not generate object code if the source code has
compiled with errors. This behaviour is needed for autoconf macros which
rely on the ability to compile with or without errors, and is safer than
xlc's default of failing only upon severe errors.

16 years agoRemoved:
Daniel Stenberg [Thu, 28 Feb 2008 21:25:00 +0000 (21:25 +0000)]
Removed:

121 - Kaspar Brand's and Guenter Knauf's work on the TLS extension Server Name
      Indication is now committed

122 - Progress callback not called during failed socket connect with the multi
      interface, is now simply pending a closure since no feedback has been
      received lately.

Added:

123 - Mike Protts' SFTP resume download

124 - Anatoli Tubman's fix for a Negotiate: crash

125 - Michal Marek's typechecker-gcc work

16 years agofixed commented define for SSPI.
Gunter Knauf [Thu, 28 Feb 2008 11:34:08 +0000 (11:34 +0000)]
fixed commented define for SSPI.

16 years agosignal handling to properly cleanup on SIGINT and SIGTERM
Yang Tse [Thu, 28 Feb 2008 10:15:21 +0000 (10:15 +0000)]
signal handling to properly cleanup on SIGINT and SIGTERM

16 years agowhen terminating do it falling through cleanup code
Yang Tse [Thu, 28 Feb 2008 10:13:07 +0000 (10:13 +0000)]
when terminating do it falling through cleanup code

16 years agoavoid inclusion of setup.h in util.h
Yang Tse [Thu, 28 Feb 2008 09:38:32 +0000 (09:38 +0000)]
avoid inclusion of setup.h in util.h

16 years agoheader inclusion cleanup
Yang Tse [Thu, 28 Feb 2008 00:55:06 +0000 (00:55 +0000)]
header inclusion cleanup

16 years agomake comment more precise
Yang Tse [Wed, 27 Feb 2008 14:54:18 +0000 (14:54 +0000)]
make comment more precise

16 years agoMichal Marek's cleanup of how curl_easy_setopt() is used in examples and
Daniel Stenberg [Wed, 27 Feb 2008 09:06:15 +0000 (09:06 +0000)]
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
test code. Thanks to his curl_easy_setopt() typechecker work...

16 years agoadded get_ver.awk since c-ares is a standalone project, and should therefore also...
Gunter Knauf [Wed, 27 Feb 2008 01:51:40 +0000 (01:51 +0000)]
added get_ver.awk since c-ares is a standalone project, and should therefore also compile when cURL is absent.

16 years agoa couple of small fixes to the makefile:
Gunter Knauf [Wed, 27 Feb 2008 01:43:12 +0000 (01:43 +0000)]
a couple of small fixes to the makefile:
fixed comments; fixed INSTDIR define, simplified rules;
changed to use get_ver.awk in current dir rather than the curl one.

16 years agoanother small change to the makefiles to simplify rules.
Gunter Knauf [Wed, 27 Feb 2008 01:36:01 +0000 (01:36 +0000)]
another small change to the makefiles to simplify rules.

16 years agotrial to fix the HP-UX breakage...
Gunter Knauf [Tue, 26 Feb 2008 23:06:15 +0000 (23:06 +0000)]
trial to fix the HP-UX breakage...

16 years agoadded curl.html to install package.
Gunter Knauf [Tue, 26 Feb 2008 21:42:38 +0000 (21:42 +0000)]
added curl.html to install package.

16 years agosome more minor makefile changes; removed useless dist target.
Gunter Knauf [Tue, 26 Feb 2008 21:41:19 +0000 (21:41 +0000)]
some more minor makefile changes; removed useless dist target.

16 years agofixed install target to create a ca-bundle.crt since we have no longer one in the...
Gunter Knauf [Tue, 26 Feb 2008 21:24:03 +0000 (21:24 +0000)]
fixed install target to create a ca-bundle.crt since we have no longer one in the project.

16 years agoall reads from stdin and writes to stdout will be retried until the
Yang Tse [Tue, 26 Feb 2008 18:13:59 +0000 (18:13 +0000)]
all reads from stdin and writes to stdout will be retried until the
whole operation completes or an unrecoverable condition is detected

16 years agorefactor some code out to write_pidfile() in util.c
Yang Tse [Tue, 26 Feb 2008 15:06:44 +0000 (15:06 +0000)]
refactor some code out to write_pidfile() in util.c

16 years agoAdded support for server name indication (RFC 4366).
Gunter Knauf [Tue, 26 Feb 2008 10:30:13 +0000 (10:30 +0000)]
Added support for server name indication (RFC 4366).
Patch submitted by Kaspar Brand.

16 years ago- Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that
Daniel Stenberg [Mon, 25 Feb 2008 07:51:39 +0000 (07:51 +0000)]
- Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that
  forces it to prefer SSLv3.

16 years agonow builds and runs with GnuTLS-built libcurls too
Daniel Stenberg [Sat, 23 Feb 2008 23:00:24 +0000 (23:00 +0000)]
now builds and runs with GnuTLS-built libcurls too

16 years ago- Sam Listopad provided a patch in feature-request #1900014
Daniel Stenberg [Sat, 23 Feb 2008 12:27:45 +0000 (12:27 +0000)]
- Sam Listopad provided a patch in feature-request #1900014
  http://curl.haxx.se/bug/feature.cgi?id=1900014 that makes libcurl (built to
  use OpenSSL) support a full chain of certificates in a given PKCS12
  certificate.

16 years ago- Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model
Daniel Stenberg [Fri, 22 Feb 2008 22:53:01 +0000 (22:53 +0000)]
- Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model
  options as the lib/Makefile.vc6 already did.

16 years agoRevert sockfilt.c back to revision 1.42
Yang Tse [Fri, 22 Feb 2008 09:31:18 +0000 (09:31 +0000)]
Revert sockfilt.c back to revision 1.42

Changes introduced in revision 1.43 were useless

16 years ago- Zmey Petroff found a crash when libcurl accessed a NULL pointer, which
Daniel Stenberg [Thu, 21 Feb 2008 17:52:16 +0000 (17:52 +0000)]
- Zmey Petroff found a crash when libcurl accessed a NULL pointer, which
  happened if you set the connection cache size to 1 and for example failed to
  login to an FTP site. Bug report #1896698
  (http://curl.haxx.se/bug/view.cgi?id=1896698)

16 years agofixed missing header; changed bail out from exit() to return().
Gunter Knauf [Thu, 21 Feb 2008 15:02:14 +0000 (15:02 +0000)]
fixed missing header; changed bail out from exit() to return().
Mentioned on the list by Michal Marek.

16 years agoassert that the *connp is a non-NULL pointer when Curl_done() is called
Daniel Stenberg [Thu, 21 Feb 2008 12:28:45 +0000 (12:28 +0000)]
assert that the *connp is a non-NULL pointer when Curl_done() is called

16 years agoAvoid timeout restart when signal caught while awaiting socket and stdin events
Yang Tse [Wed, 20 Feb 2008 17:17:18 +0000 (17:17 +0000)]
Avoid timeout restart when signal caught while awaiting socket and stdin events

16 years agoreformatted comment.
Gunter Knauf [Wed, 20 Feb 2008 12:36:35 +0000 (12:36 +0000)]
reformatted comment.

16 years agoadded read callback function in order to prevent crashs on Win32 when linked against...
Gunter Knauf [Wed, 20 Feb 2008 12:33:45 +0000 (12:33 +0000)]
added read callback function in order to prevent crashs on Win32 when linked against DLL:

16 years ago- Fixed test case 405 to not fail when libcurl is built with GnuTLS
Daniel Stenberg [Wed, 20 Feb 2008 12:18:08 +0000 (12:18 +0000)]
- Fixed test case 405 to not fail when libcurl is built with GnuTLS

16 years agomade the non-matching error code output nicer since we know it is a number
Daniel Stenberg [Wed, 20 Feb 2008 12:14:31 +0000 (12:14 +0000)]
made the non-matching error code output nicer since we know it is a number
and the string contains a newline...

16 years agomention removal of SSLv2 by default.
Gunter Knauf [Wed, 20 Feb 2008 11:58:20 +0000 (11:58 +0000)]
mention removal of SSLv2 by default.

16 years agooops, fixed to build
Daniel Stenberg [Wed, 20 Feb 2008 10:01:28 +0000 (10:01 +0000)]
oops, fixed to build

16 years ago"118 - Gautam Kachroo's issue with proxies and ssl" is now in CVS
Daniel Stenberg [Wed, 20 Feb 2008 09:58:42 +0000 (09:58 +0000)]
"118 - Gautam Kachroo's issue with proxies and ssl" is now in CVS

16 years ago- Based on initial work done by Gautam Kachroo to address a bug, we now keep
Daniel Stenberg [Wed, 20 Feb 2008 09:56:26 +0000 (09:56 +0000)]
- Based on initial work done by Gautam Kachroo to address a bug, we now keep
  better control at the exact state of the connection's SSL status so that we
  know exactly when it has completed the SSL negotiation or not so that there
  won't be accidental re-uses of connections that are wrongly believed to be
  in SSL-completed-negotiate state.

16 years ago- We no longer support setting the CURLOPT_URL option from inside a callback
Daniel Stenberg [Wed, 20 Feb 2008 08:28:02 +0000 (08:28 +0000)]
- We no longer support setting the CURLOPT_URL option from inside a callback
  such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
  following. The patch that introduced this feature was done for 7.11.0, but
  this code and functionality has been broken since about 7.15.4 (March 2006)
  with the introduction of non-blocking OpenSSL "connects".

  It was a hack to begin with and since it doesn't work and hasn't worked
  correctly for a long time and nobody has even noticed, I consider it a very
  suitable subject for plain removal. And so it was done.

16 years agoapplied patch to disable SSLv2 by default; discussion:
Gunter Knauf [Tue, 19 Feb 2008 23:10:07 +0000 (23:10 +0000)]
applied patch to disable SSLv2 by default; discussion:
http://sourceforge.net/tracker/index.php?func=detail&aid=1767276&group_id=976&atid=350976
Submitted by Kaspar Brand.

16 years agoAdded test309 to test HTTP redirect to HTTPS URL
Dan Fandrich [Tue, 19 Feb 2008 21:57:41 +0000 (21:57 +0000)]
Added test309 to test HTTP redirect to HTTPS URL

16 years agojuggle() actually returns bool.
Yang Tse [Tue, 19 Feb 2008 18:51:08 +0000 (18:51 +0000)]
juggle() actually returns bool.

Remove redundant and unreachable log message.

16 years agofix compiler warnings: 'statement is unreachable'
Yang Tse [Tue, 19 Feb 2008 17:25:19 +0000 (17:25 +0000)]
fix compiler warnings: 'statement is unreachable'

16 years agofix for new codestyle.
Gunter Knauf [Tue, 19 Feb 2008 16:23:03 +0000 (16:23 +0000)]
fix for new codestyle.

16 years agomade changes to work with Win32;
Gunter Knauf [Tue, 19 Feb 2008 16:13:52 +0000 (16:13 +0000)]
made changes to work with Win32;
replaced fstat() with stat() call and bail out if local file not found.

16 years agofix compiler warnings: 'enumerated type mixed with another type'
Yang Tse [Tue, 19 Feb 2008 15:07:50 +0000 (15:07 +0000)]
fix compiler warnings: 'enumerated type mixed with another type'

16 years agoReduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt listener...
Yang Tse [Mon, 18 Feb 2008 20:13:30 +0000 (20:13 +0000)]
Reduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt listener socket.

Log some more error descriptions.

16 years agohttps_getsock() should be static all over (and did some fixed indenting)
Daniel Stenberg [Mon, 18 Feb 2008 19:53:31 +0000 (19:53 +0000)]
https_getsock() should be static all over (and did some fixed indenting)

16 years agothe ca-bundle is now removed
Daniel Stenberg [Mon, 18 Feb 2008 16:55:27 +0000 (16:55 +0000)]
the ca-bundle is now removed