platform/upstream/curl.git
17 years agoCompiler warning fix
Yang Tse [Sun, 10 Sep 2006 23:45:54 +0000 (23:45 +0000)]
Compiler warning fix

17 years agoCompiler warning fix
Yang Tse [Sun, 10 Sep 2006 23:37:42 +0000 (23:37 +0000)]
Compiler warning fix

17 years agocurl_multi_socket() fix thanks to Jeff's test code
Daniel Stenberg [Sun, 10 Sep 2006 22:15:57 +0000 (22:15 +0000)]
curl_multi_socket() fix thanks to Jeff's test code

17 years ago Jeff Pohlmeyer presented a *multi_socket()-using program that exposed a
Daniel Stenberg [Sun, 10 Sep 2006 22:15:32 +0000 (22:15 +0000)]
  Jeff Pohlmeyer presented a *multi_socket()-using program that exposed a
  problem with it (SIGSEGV-style). It clearly showed that the existing
  socket-state and state-difference function wasn't good enough so I rewrote
  it and could then re-run Jeff's program without any crash. The previous
  version clearly could miss to tell the application when a handle changed
  from using one socket to using another.

  While I was at it (as I could use this as a means to track this problem
  down), I've now added a 'magic' number to the easy handle struct that is
  inited at curl_easy_init() time and cleared at curl_easy_cleanup() time that
  we can use internally to detect that an easy handle seems to be fine, or at
  least not closed or freed (freeing in debug builds fill the area with 0x13
  bytes but in normal builds we can of course not assume any particular data
  in the freed areas).

17 years agoAdded a useful debug function within #if 0. The function makes it easy to
Daniel Stenberg [Sun, 10 Sep 2006 22:12:24 +0000 (22:12 +0000)]
Added a useful debug function within #if 0. The function makes it easy to
"dump" a hash table which is useful when tracking problems with data stored
in one of our hashes.

17 years agoAdded select_test() function to allow selecting on no sockets on
Gisle Vanem [Sun, 10 Sep 2006 19:01:04 +0000 (19:01 +0000)]
Added select_test() function to allow selecting on no sockets on
Winsock.

17 years agoSIGALARM -> SIGALRM.
Gisle Vanem [Sat, 9 Sep 2006 19:13:13 +0000 (19:13 +0000)]
SIGALARM -> SIGALRM.

17 years ago#ifdef around alarmfunc() to supress warning.
Gisle Vanem [Sat, 9 Sep 2006 19:11:54 +0000 (19:11 +0000)]
#ifdef around alarmfunc() to supress warning.

17 years agoiconv-data needs to be fully reallocated (to prevent a double-free).
Gisle Vanem [Sat, 9 Sep 2006 18:23:29 +0000 (18:23 +0000)]
iconv-data needs to be fully reallocated (to prevent a double-free).

17 years agoPrint usage in case 'arg2 == NULL'.
Gisle Vanem [Sat, 9 Sep 2006 16:55:21 +0000 (16:55 +0000)]
Print usage in case 'arg2 == NULL'.

17 years agoDuplicate iconv-data too in curl_easy_duphandle().
Gisle Vanem [Sat, 9 Sep 2006 16:36:05 +0000 (16:36 +0000)]
Duplicate iconv-data too in curl_easy_duphandle().

17 years agoCompiler warning fix
Yang Tse [Sat, 9 Sep 2006 13:24:42 +0000 (13:24 +0000)]
Compiler warning fix

17 years agoMichele Bini fixed how the hostname is put in NTLM packages. As servers
Daniel Stenberg [Sat, 9 Sep 2006 11:45:27 +0000 (11:45 +0000)]
Michele Bini fixed how the hostname is put in NTLM packages. As servers
don't expect fully qualified names we need to cut them off at the first dot.

17 years agotab => space
Daniel Stenberg [Sat, 9 Sep 2006 11:45:05 +0000 (11:45 +0000)]
tab => space

17 years agoPeter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some
Daniel Stenberg [Fri, 8 Sep 2006 22:17:39 +0000 (22:17 +0000)]
Peter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some
of them can be completetly removed though...

17 years agosignal() returns 'void (*)(int)'.
Gisle Vanem [Fri, 8 Sep 2006 13:06:41 +0000 (13:06 +0000)]
signal() returns 'void (*)(int)'.

17 years agoMention that CURLOPT_MAX_RECV/SEND* were added in 7.15.5
Daniel Stenberg [Fri, 8 Sep 2006 12:46:41 +0000 (12:46 +0000)]
Mention that CURLOPT_MAX_RECV/SEND* were added in 7.15.5

17 years agoUpdate comment reflecting structure change.
Gisle Vanem [Fri, 8 Sep 2006 12:17:58 +0000 (12:17 +0000)]
Update comment reflecting structure change.

17 years agoremoved the comment that isn't valid for this file, just a copy'n paste error
Daniel Stenberg [Fri, 8 Sep 2006 12:03:55 +0000 (12:03 +0000)]
removed the comment that isn't valid for this file, just a copy'n paste error

17 years agoCompilation fix; 'reqdata' is not a pointer. 'path' is part of SessionHandle.
Gisle Vanem [Fri, 8 Sep 2006 12:03:39 +0000 (12:03 +0000)]
Compilation fix; 'reqdata' is not a pointer. 'path' is part of SessionHandle.

17 years agotest 530 is the first ever HTTP pipelining test for libcurl
Daniel Stenberg [Fri, 8 Sep 2006 11:56:56 +0000 (11:56 +0000)]
test 530 is the first ever HTTP pipelining test for libcurl

17 years agoCompilation fix
Yang Tse [Fri, 8 Sep 2006 05:18:07 +0000 (05:18 +0000)]
Compilation fix

17 years agoMajor overhaul introducing http pipelining support and shared connection
Daniel Stenberg [Thu, 7 Sep 2006 21:49:20 +0000 (21:49 +0000)]
Major overhaul introducing http pipelining support and shared connection
cache within the multi handle.

17 years agoFix compiler warning
Yang Tse [Thu, 7 Sep 2006 01:18:46 +0000 (01:18 +0000)]
Fix compiler warning

17 years agoInvoke memanalyze from the source path and hush up about killing the FTP
Daniel Stenberg [Wed, 6 Sep 2006 10:03:34 +0000 (10:03 +0000)]
Invoke memanalyze from the source path and hush up about killing the FTP
server as part of test cases

17 years agoadded some fresh new blurb
Daniel Stenberg [Tue, 5 Sep 2006 21:17:04 +0000 (21:17 +0000)]
added some fresh new blurb

17 years agospell fix and added Jari
Daniel Stenberg [Mon, 4 Sep 2006 22:21:32 +0000 (22:21 +0000)]
spell fix and added Jari

17 years agoJari Sundell's minor cleanup, added comments and some extra error-checkings
Daniel Stenberg [Mon, 4 Sep 2006 22:19:13 +0000 (22:19 +0000)]
Jari Sundell's minor cleanup, added comments and some extra error-checkings
for easier future error-tracking.

17 years agoI fell over a new libtool that starts with a newline so we need to fetch
Daniel Stenberg [Mon, 4 Sep 2006 08:53:28 +0000 (08:53 +0000)]
I fell over a new libtool that starts with a newline so we need to fetch
the two first lines to get the version string. The good news is that older
libtools have an empty line after the first so I think this works fine all
over...

17 years agooops, we're on the .6 track now
Daniel Stenberg [Mon, 4 Sep 2006 08:43:44 +0000 (08:43 +0000)]
oops, we're on the .6 track now

17 years agoproper credit
Daniel Stenberg [Mon, 4 Sep 2006 06:17:55 +0000 (06:17 +0000)]
proper credit

17 years ago- "Dortik" (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a patch that
Daniel Stenberg [Sun, 3 Sep 2006 22:52:42 +0000 (22:52 +0000)]
- "Dortik" (curl.haxx.se/bug/view.cgi?id=1551412) provided a patch that
  while not fixing things very nicely, it does make the SOCKS5 proxy
  connection slightly better as it now acknowledges the timeout for connection
  and it no longer segfaults in the case when SOCKS requires authentication
  and you did not specify username:password.

17 years agoMohun Biswas' improvements and clarifications about the options and how to use
Daniel Stenberg [Sun, 3 Sep 2006 22:12:57 +0000 (22:12 +0000)]
Mohun Biswas' improvements and clarifications about the options and how to use
them.

17 years agoSimplified #ifdef on WIN32; the statement
Gisle Vanem [Sun, 3 Sep 2006 13:52:07 +0000 (13:52 +0000)]
Simplified #ifdef on WIN32; the statement
" !defined(__GNUC__) || defined(__MINGW32__)" implies
CygWin.

17 years agoWatcom lacks <sys/time.h>.
Gisle Vanem [Sun, 3 Sep 2006 13:45:42 +0000 (13:45 +0000)]
Watcom lacks <sys/time.h>.

17 years agoadded missing test
Daniel Stenberg [Thu, 31 Aug 2006 22:18:08 +0000 (22:18 +0000)]
added missing test

17 years agoDmitriy Sergeyev found and fixed a multi interface flaw when using asynch
Daniel Stenberg [Thu, 31 Aug 2006 12:53:39 +0000 (12:53 +0000)]
Dmitriy Sergeyev found and fixed a multi interface flaw when using asynch
name resolves. It could get stuck in the wrong state.

17 years agoAdded HAVE_SYS_TIME_H for djgpp and HighC.
Gisle Vanem [Wed, 30 Aug 2006 16:18:03 +0000 (16:18 +0000)]
Added HAVE_SYS_TIME_H for djgpp and HighC.

17 years agoRemoved "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.
Gisle Vanem [Wed, 30 Aug 2006 16:17:06 +0000 (16:17 +0000)]
Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.

17 years agoAdded support for more MS-DOS compilers.
Gisle Vanem [Wed, 30 Aug 2006 12:10:30 +0000 (12:10 +0000)]
Added support for more MS-DOS compilers.

17 years agoAvoid Metaware's High-C warning "'=' encountered where '==' may have been intended."
Gisle Vanem [Tue, 29 Aug 2006 21:11:55 +0000 (21:11 +0000)]
Avoid Metaware's High-C warning "'=' encountered where '==' may have been intended."

17 years agoWatcom lacks <sys/time.h>.
Gisle Vanem [Tue, 29 Aug 2006 18:45:55 +0000 (18:45 +0000)]
Watcom lacks <sys/time.h>.

17 years agoAdded support for Watcom/DOS.
Gisle Vanem [Tue, 29 Aug 2006 18:40:36 +0000 (18:40 +0000)]
Added support for Watcom/DOS.

17 years agoUpdated dependency section.
Gisle Vanem [Tue, 29 Aug 2006 18:17:43 +0000 (18:17 +0000)]
Updated dependency section.

17 years agoDon't include zlib headers in dependency output.
Gisle Vanem [Tue, 29 Aug 2006 18:13:54 +0000 (18:13 +0000)]
Don't include zlib headers in dependency output.

17 years agoRenamed config.dj -> config.dos.
Gisle Vanem [Tue, 29 Aug 2006 16:40:47 +0000 (16:40 +0000)]
Renamed config.dj -> config.dos.

17 years agoUse config.dos instead. Updated generated dependencies.
Gisle Vanem [Tue, 29 Aug 2006 16:35:11 +0000 (16:35 +0000)]
Use config.dos instead.  Updated generated dependencies.

17 years agoRemoved. New file is config.dos.
Gisle Vanem [Tue, 29 Aug 2006 16:34:40 +0000 (16:34 +0000)]
Removed. New file is config.dos.

17 years agoRenamed config.dj -> config.dos. Added #ifdef-section for djgpp.
Gisle Vanem [Tue, 29 Aug 2006 16:33:41 +0000 (16:33 +0000)]
Renamed config.dj -> config.dos. Added #ifdef-section for djgpp.

17 years agoBUFSIZE defined in Metaware's <stdio.h>. Undefine to avoid warning.
Gisle Vanem [Tue, 29 Aug 2006 16:27:13 +0000 (16:27 +0000)]
BUFSIZE defined in Metaware's <stdio.h>. Undefine to avoid warning.

17 years agoSupport other MS-DOS compilers (MSDOS is a djgpp built-in define).
Gisle Vanem [Tue, 29 Aug 2006 16:26:41 +0000 (16:26 +0000)]
Support other MS-DOS compilers (MSDOS is a djgpp built-in define).

17 years agoMetaware's High-C has an ISO cpp.
Gisle Vanem [Tue, 29 Aug 2006 16:16:13 +0000 (16:16 +0000)]
Metaware's High-C has an ISO cpp.

17 years agoBrad Spencer did
Daniel Stenberg [Tue, 29 Aug 2006 15:17:47 +0000 (15:17 +0000)]
Brad Spencer did
 o made ares_version.h use extern "C" for c++ compilers
 o fixed compiler warnings in ares_getnameinfo.c
 o fixed a buffer position init for TCP reads

17 years agoDavid McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to
Daniel Stenberg [Tue, 29 Aug 2006 14:39:33 +0000 (14:39 +0000)]
David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to
allow applications to set their own socket options.

17 years agoArmel Asselin reported that the 'running_handles' counter wasn't updated
Daniel Stenberg [Fri, 25 Aug 2006 13:53:20 +0000 (13:53 +0000)]
Armel Asselin reported that the 'running_handles' counter wasn't updated
properly if you removed a "live" handle from a multi handle with
curl_multi_remove_handle().

17 years agoclarify the string syntax support in the CURLOPT_PROXY section
Daniel Stenberg [Wed, 23 Aug 2006 21:49:44 +0000 (21:49 +0000)]
clarify the string syntax support in the CURLOPT_PROXY section

17 years agoUse /usr/bin/env to invoke perl like the other test scripts.
Dan Fandrich [Wed, 23 Aug 2006 21:20:00 +0000 (21:20 +0000)]
Use /usr/bin/env to invoke perl like the other test scripts.

17 years agoDavid McCreedy fixed a remaining mistake from the August 19 TYPE change.
Daniel Stenberg [Tue, 22 Aug 2006 21:23:25 +0000 (21:23 +0000)]
David McCreedy fixed a remaining mistake from the August 19 TYPE change.

17 years agoPeter Sylvester pointed out a flaw in the AllowServerConnect() in the FTP
Daniel Stenberg [Tue, 22 Aug 2006 21:21:01 +0000 (21:21 +0000)]
Peter Sylvester pointed out a flaw in the AllowServerConnect() in the FTP
code when doing pure ipv6 EPRT connections.

17 years agoas Jeff Pohlmeyer pointed out, first get the multi handle _then_ use it
Daniel Stenberg [Tue, 22 Aug 2006 06:29:21 +0000 (06:29 +0000)]
as Jeff Pohlmeyer pointed out, first get the multi handle _then_ use it

17 years agoWorkaround for Cray UNICOS 9.0 to fix ftp.
Dan Fandrich [Mon, 21 Aug 2006 22:28:19 +0000 (22:28 +0000)]
Workaround for Cray UNICOS 9.0 to fix ftp.

17 years agoclarify for what protocols the changes are
Daniel Stenberg [Mon, 21 Aug 2006 06:39:52 +0000 (06:39 +0000)]
clarify for what protocols the changes are

17 years agoBased on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE
Daniel Stenberg [Sat, 19 Aug 2006 21:18:36 +0000 (21:18 +0000)]
Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE
command on subsequent requests on a re-used connection unless it has to.

17 years agoArmel Asselin fixed a crash in the FTP code when using SINGLECWD mode and
Daniel Stenberg [Fri, 18 Aug 2006 23:17:33 +0000 (23:17 +0000)]
Armel Asselin fixed a crash in the FTP code when using SINGLECWD mode and
files in the root directory.

17 years agoAndrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn't
Daniel Stenberg [Fri, 18 Aug 2006 22:54:57 +0000 (22:54 +0000)]
Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn't
send the whole request at once, even though the Expect: header was disabled
by the application. An effect of this change is also that small (< 1024
bytes) POSTs are now always sent without Expect: header since we deem it
more costly to bother about that than the risk that we send the data in
vain.

17 years agoMinor portability fixes to get things running on UNICOS 9.0 on a Cray Y-MP
Dan Fandrich [Wed, 16 Aug 2006 18:48:27 +0000 (18:48 +0000)]
Minor portability fixes to get things running on UNICOS 9.0 on a Cray Y-MP

17 years agorelated info
Daniel Stenberg [Wed, 16 Aug 2006 17:56:49 +0000 (17:56 +0000)]
related info

17 years agoUse gnutls_strerror() for clearer error message.
Gisle Vanem [Wed, 16 Aug 2006 17:05:54 +0000 (17:05 +0000)]
Use gnutls_strerror() for clearer error message.

17 years agoUse '_LIBICONV_VERSION' instead of variable '_libiconv_version'
Gisle Vanem [Tue, 15 Aug 2006 17:02:24 +0000 (17:02 +0000)]
Use '_LIBICONV_VERSION' instead of variable '_libiconv_version'
to support older iconv versions.

17 years agoReplace exit() with return() in main()
Yang Tse [Mon, 14 Aug 2006 17:00:08 +0000 (17:00 +0000)]
Replace exit() with return() in main()

17 years agoadd missing man page
Daniel Stenberg [Mon, 14 Aug 2006 07:21:33 +0000 (07:21 +0000)]
add missing man page

18 years agoUse __minix to detect Minix, which works on both ACK and GCC.
Dan Fandrich [Fri, 11 Aug 2006 18:11:42 +0000 (18:11 +0000)]
Use __minix to detect Minix, which works on both ACK and GCC.

18 years agooption name spell fix
Daniel Stenberg [Wed, 9 Aug 2006 20:54:17 +0000 (20:54 +0000)]
option name spell fix

18 years agoOnly define the string prototypes in ANSI mode to reduce interference on
Dan Fandrich [Wed, 9 Aug 2006 16:36:17 +0000 (16:36 +0000)]
Only define the string prototypes in ANSI mode to reduce interference on
systems that prototype them slightly differently.

18 years agoAdded eCos and Minix sections.
Dan Fandrich [Wed, 9 Aug 2006 16:10:20 +0000 (16:10 +0000)]
Added eCos and Minix sections.

18 years agoadded build info output.
Gunter Knauf [Wed, 9 Aug 2006 14:04:51 +0000 (14:04 +0000)]
added build info output.

18 years agofixed some web links.
Gunter Knauf [Wed, 9 Aug 2006 13:59:39 +0000 (13:59 +0000)]
fixed some web links.

18 years agofixed some web links.
Gunter Knauf [Tue, 8 Aug 2006 23:37:11 +0000 (23:37 +0000)]
fixed some web links.

18 years agoArmel Asselin made the CURLOPT_PREQUOTE option work fine even when
Daniel Stenberg [Tue, 8 Aug 2006 22:56:46 +0000 (22:56 +0000)]
Armel Asselin made the CURLOPT_PREQUOTE option work fine even when
CURLOPT_NOBODY is set true. PREQUOTE is then run roughly at the same place
in the command sequence as it would have run if there would've been a
transfer.

18 years agomoved ugly NetWare hack to hostip.h so that hostip.c uses it too.
Gunter Knauf [Tue, 8 Aug 2006 22:37:53 +0000 (22:37 +0000)]
moved ugly NetWare hack to hostip.h so that hostip.c uses it too.

18 years agoFixed a flaw in the "Expect: 100-continue" treatment. If you did two POSTs
Daniel Stenberg [Tue, 8 Aug 2006 21:12:49 +0000 (21:12 +0000)]
Fixed a flaw in the "Expect: 100-continue" treatment. If you did two POSTs
on a persistent connection and allowed the first to use that header, you
could not disable it for the second request.

18 years agomake REALLY sure src/config.h.in is a copy of lib/config.h.in
Daniel Stenberg [Tue, 8 Aug 2006 21:11:31 +0000 (21:11 +0000)]
make REALLY sure src/config.h.in is a copy of lib/config.h.in

18 years agoMinix 3 doesn't have MSG_PEEK
Dan Fandrich [Tue, 8 Aug 2006 18:47:14 +0000 (18:47 +0000)]
Minix 3 doesn't have MSG_PEEK

18 years agobetter updating of the single timeout
Daniel Stenberg [Tue, 8 Aug 2006 13:39:40 +0000 (13:39 +0000)]
better updating of the single timeout

18 years agoAllow again proper compilation outside of the source tree
Yang Tse [Mon, 7 Aug 2006 18:06:37 +0000 (18:06 +0000)]
Allow again proper compilation outside of the source tree

18 years agoJeff Pohlmeyer pointed out this stupid variable type error
Daniel Stenberg [Mon, 7 Aug 2006 16:54:50 +0000 (16:54 +0000)]
Jeff Pohlmeyer pointed out this stupid variable type error

18 years agostart working towards 7.15.6
Daniel Stenberg [Mon, 7 Aug 2006 06:48:01 +0000 (06:48 +0000)]
start working towards 7.15.6

18 years agoadded contributors to 7.15.5
Daniel Stenberg [Mon, 7 Aug 2006 06:46:05 +0000 (06:46 +0000)]
added contributors to 7.15.5

18 years agorelease time for 7.15.5
Daniel Stenberg [Mon, 7 Aug 2006 06:32:35 +0000 (06:32 +0000)]
release time for 7.15.5

18 years agoCheck for network libraries the _same_ way it is done in cURL.
Yang Tse [Sun, 6 Aug 2006 10:58:47 +0000 (10:58 +0000)]
Check for network libraries the _same_ way it is done in cURL.

18 years agoCheck for network libraries the same way it is done in cURL.
Yang Tse [Sat, 5 Aug 2006 22:02:47 +0000 (22:02 +0000)]
Check for network libraries the same way it is done in cURL.

18 years agoInitial stab at making libcurl compile under Minix 3.
Dan Fandrich [Fri, 4 Aug 2006 18:53:47 +0000 (18:53 +0000)]
Initial stab at making libcurl compile under Minix 3.

18 years agoMinor compatibility fix
Yang Tse [Fri, 4 Aug 2006 17:35:05 +0000 (17:35 +0000)]
Minor compatibility fix

18 years agoAdded version info for iconv.
Gisle Vanem [Fri, 4 Aug 2006 16:10:48 +0000 (16:10 +0000)]
Added version info for iconv.

18 years agoAdded 'curl_version_info_data::iconv_ver_num' for iconv version.
Gisle Vanem [Fri, 4 Aug 2006 16:08:41 +0000 (16:08 +0000)]
Added 'curl_version_info_data::iconv_ver_num' for iconv version.

18 years agoFixed typo.
Gisle Vanem [Fri, 4 Aug 2006 16:05:09 +0000 (16:05 +0000)]
Fixed typo.

18 years agoAdded dependency for splay.obj.
Gisle Vanem [Fri, 4 Aug 2006 15:57:07 +0000 (15:57 +0000)]
Added dependency for splay.obj.

18 years agoFixed comment.
Gisle Vanem [Fri, 4 Aug 2006 15:41:56 +0000 (15:41 +0000)]
Fixed comment.

18 years agooops, the previous commit was incomplete as we made an unconditional call
Daniel Stenberg [Fri, 4 Aug 2006 14:39:19 +0000 (14:39 +0000)]
oops, the previous commit was incomplete as we made an unconditional call
to multi_runsingle() without it being really necessary or good

18 years agoeven when we get a single connection to deal with, we must still check for
Daniel Stenberg [Fri, 4 Aug 2006 13:06:36 +0000 (13:06 +0000)]
even when we get a single connection to deal with, we must still check for
timeout'ed connections and possibly deal with them too