platform/upstream/curl.git
22 years agomade the -C more correct and detailed
Daniel Stenberg [Mon, 26 Nov 2001 09:57:02 +0000 (09:57 +0000)]
made the -C more correct and detailed

22 years agoAndrés García's minor fix to make it compile on win32
Daniel Stenberg [Fri, 23 Nov 2001 09:04:56 +0000 (09:04 +0000)]
Andrés García's minor fix to make it compile on win32

22 years agorecent fixes
Daniel Stenberg [Thu, 22 Nov 2001 14:16:21 +0000 (14:16 +0000)]
recent fixes

22 years agothis fix seems to make the connect fail properly even on IPv4-only Linux
Daniel Stenberg [Thu, 22 Nov 2001 13:57:00 +0000 (13:57 +0000)]
this fix seems to make the connect fail properly even on IPv4-only Linux
machines!

22 years agoupdated the list of machines
Daniel Stenberg [Thu, 22 Nov 2001 13:03:11 +0000 (13:03 +0000)]
updated the list of machines

22 years agoEric fixed a wild write
Daniel Stenberg [Thu, 22 Nov 2001 09:40:34 +0000 (09:40 +0000)]
Eric fixed a wild write

22 years agoEric found a missing comma!!
Daniel Stenberg [Thu, 22 Nov 2001 09:39:03 +0000 (09:39 +0000)]
Eric found a missing comma!!

22 years agoFixed release-ssl build
sm [Thu, 22 Nov 2001 00:12:48 +0000 (00:12 +0000)]
Fixed release-ssl build

22 years agoUndefine long_long - not supported by VC
sm [Thu, 22 Nov 2001 00:06:21 +0000 (00:06 +0000)]
Undefine long_long - not supported by VC

22 years agoSM corrected wsock32 to ws2_32
Daniel Stenberg [Wed, 21 Nov 2001 23:11:47 +0000 (23:11 +0000)]
SM corrected wsock32 to ws2_32

22 years agoSM added connect.obj
Daniel Stenberg [Wed, 21 Nov 2001 23:10:55 +0000 (23:10 +0000)]
SM added connect.obj

22 years agoinit the errorbuf to prevent junk from being output
Daniel Stenberg [Wed, 21 Nov 2001 23:01:01 +0000 (23:01 +0000)]
init the errorbuf to prevent junk from being output

22 years agoSM's vc target updates
Daniel Stenberg [Wed, 21 Nov 2001 22:59:29 +0000 (22:59 +0000)]
SM's vc target updates

22 years agoadded error text for a failed connect case
Daniel Stenberg [Wed, 21 Nov 2001 22:57:42 +0000 (22:57 +0000)]
added error text for a failed connect case

22 years agoanother Kevin Roth update
Daniel Stenberg [Wed, 21 Nov 2001 08:10:29 +0000 (08:10 +0000)]
another Kevin Roth update

22 years agoGeorg Horn's STARTTRANSFER_TIME patch
Daniel Stenberg [Tue, 20 Nov 2001 15:00:50 +0000 (15:00 +0000)]
Georg Horn's STARTTRANSFER_TIME patch

22 years ago-p, not -P, for proxy tunneling
Daniel Stenberg [Tue, 20 Nov 2001 08:03:01 +0000 (08:03 +0000)]
-p, not -P, for proxy tunneling

22 years agouse the ws2_32.lib now (Miklos Nemeth reporteD)
Daniel Stenberg [Mon, 19 Nov 2001 20:09:02 +0000 (20:09 +0000)]
use the ws2_32.lib now (Miklos Nemeth reporteD)

22 years agolong port => int port, as the c source uses! (Miklos Nemeth found this)
Daniel Stenberg [Mon, 19 Nov 2001 20:08:01 +0000 (20:08 +0000)]
long port => int port, as the c source uses! (Miklos Nemeth found this)

22 years agoMiklos Nemeth pointed out the missing connect.obj
Daniel Stenberg [Mon, 19 Nov 2001 20:06:29 +0000 (20:06 +0000)]
Miklos Nemeth pointed out the missing connect.obj

22 years agorecent fixes
Daniel Stenberg [Mon, 19 Nov 2001 19:56:07 +0000 (19:56 +0000)]
recent fixes

22 years agoLars M Gustafsson showed us that the free(urlbuffer) was totally unnecessary
Daniel Stenberg [Mon, 19 Nov 2001 19:21:06 +0000 (19:21 +0000)]
Lars M Gustafsson showed us that the free(urlbuffer) was totally unnecessary
and plain wrong.

22 years agoKevin Roth's fixes
Daniel Stenberg [Mon, 19 Nov 2001 09:42:15 +0000 (09:42 +0000)]
Kevin Roth's fixes

22 years agoKlevtsov Vadim's time condition fix
Daniel Stenberg [Fri, 16 Nov 2001 11:21:50 +0000 (11:21 +0000)]
Klevtsov Vadim's time condition fix

22 years agolooks better on one line (testing the cvs diffing via mail, but I also think
Sterling Hughes [Thu, 15 Nov 2001 14:16:13 +0000 (14:16 +0000)]
looks better on one line (testing the cvs diffing via mail, but I also think
this looks a bit better ;)

22 years agospell, slightly modified "what you can do" crap
Daniel Stenberg [Wed, 14 Nov 2001 20:13:38 +0000 (20:13 +0000)]
spell, slightly modified "what you can do" crap

22 years agoadded Richard Prescott's email
Daniel Stenberg [Wed, 14 Nov 2001 13:43:15 +0000 (13:43 +0000)]
added Richard Prescott's email

22 years agoadded Richard Levitte's suggestion to support multiple -T options
Daniel Stenberg [Wed, 14 Nov 2001 09:32:30 +0000 (09:32 +0000)]
added Richard Levitte's suggestion to support multiple -T options

22 years agoSamuel Listopad's fix to allow global_init => global_cleanup => global_init
Daniel Stenberg [Wed, 14 Nov 2001 07:11:39 +0000 (07:11 +0000)]
Samuel Listopad's fix to allow global_init => global_cleanup => global_init
for ssl

22 years agocorrected the ftp_getsize() usage, as the HPUX compiler warned on them
Daniel Stenberg [Tue, 13 Nov 2001 12:46:29 +0000 (12:46 +0000)]
corrected the ftp_getsize() usage, as the HPUX compiler warned on them

22 years agouninitialized variable
Daniel Stenberg [Tue, 13 Nov 2001 12:09:05 +0000 (12:09 +0000)]
uninitialized variable

22 years agointerface to export/import SSL session IDs
Daniel Stenberg [Tue, 13 Nov 2001 09:56:29 +0000 (09:56 +0000)]
interface to export/import SSL session IDs

22 years agomore more more
Daniel Stenberg [Tue, 13 Nov 2001 09:07:32 +0000 (09:07 +0000)]
more more more

22 years ago2 removed, 1 added
Daniel Stenberg [Tue, 13 Nov 2001 09:06:32 +0000 (09:06 +0000)]
2 removed, 1 added

22 years agodisable QUOTEs with NULL
Daniel Stenberg [Tue, 13 Nov 2001 09:05:10 +0000 (09:05 +0000)]
disable QUOTEs with NULL

22 years agomy proxytunnel fix accidentally ruined the normal https connects
Daniel Stenberg [Tue, 13 Nov 2001 08:34:24 +0000 (08:34 +0000)]
my proxytunnel fix accidentally ruined the normal https connects

22 years agopoint out that calling this function more than once is a sever error
Daniel Stenberg [Tue, 13 Nov 2001 07:20:37 +0000 (07:20 +0000)]
point out that calling this function more than once is a sever error

22 years agomake sure to "read out" the server reply even if we didn't get any data from
Daniel Stenberg [Mon, 12 Nov 2001 22:27:05 +0000 (22:27 +0000)]
make sure to "read out" the server reply even if we didn't get any data from
the server when that's the only error

22 years agomade Curl_tvdiff round the diff better and make the subtraction before
Daniel Stenberg [Mon, 12 Nov 2001 22:10:09 +0000 (22:10 +0000)]
made Curl_tvdiff round the diff better and make the subtraction before
the multiply to not wrap-around

22 years agopost-weekend fixes
Daniel Stenberg [Mon, 12 Nov 2001 14:15:14 +0000 (14:15 +0000)]
post-weekend fixes

22 years agomade CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as well
Daniel Stenberg [Mon, 12 Nov 2001 14:08:41 +0000 (14:08 +0000)]
made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as well

22 years agoinclude setup.h
Daniel Stenberg [Mon, 12 Nov 2001 10:19:36 +0000 (10:19 +0000)]
include setup.h

22 years agonew Curl_ConnectHTTPProxyTunnel() function, needs a **lot** of testing!!!
Daniel Stenberg [Mon, 12 Nov 2001 09:47:09 +0000 (09:47 +0000)]
new Curl_ConnectHTTPProxyTunnel() function, needs a **lot** of testing!!!

22 years agoWe need at least one millisecond to calculate current speed with! I also
Daniel Stenberg [Mon, 12 Nov 2001 08:50:59 +0000 (08:50 +0000)]
We need at least one millisecond to calculate current speed with! I also
made the getinfo() stuff divide with 1000.0 now to enforce floating point
since Paul Harrington claims the 7.9.1 still uses even second resolution
in the timers there

22 years agoMarcus Webster reported and fixed this read-one-byte-too-many problem...
Daniel Stenberg [Thu, 8 Nov 2001 15:06:58 +0000 (15:06 +0000)]
Marcus Webster reported and fixed this read-one-byte-too-many problem...

22 years agonow we make sure that NULL is defined in the gethostbyname_r() compiles
Daniel Stenberg [Thu, 8 Nov 2001 14:48:50 +0000 (14:48 +0000)]
now we make sure that NULL is defined in the gethostbyname_r() compiles
as it turned out they aren't everywhere, and that causes compiles to fail
and then we don't find the proper function call!

22 years agoAdded two missing return codes...
Daniel Stenberg [Thu, 8 Nov 2001 12:36:00 +0000 (12:36 +0000)]
Added two missing return codes...

22 years agothe proof I did something yesterday as well
Daniel Stenberg [Thu, 8 Nov 2001 12:16:10 +0000 (12:16 +0000)]
the proof I did something yesterday as well

22 years agowe use signal() to ignore signals only as long as we have to, and we now
Daniel Stenberg [Wed, 7 Nov 2001 14:13:29 +0000 (14:13 +0000)]
we use signal() to ignore signals only as long as we have to, and we now
restore the previous (if any) signal handler properly on return.

22 years agoget the previous struct keep_sigact
Daniel Stenberg [Wed, 7 Nov 2001 12:56:13 +0000 (12:56 +0000)]
get the previous struct keep_sigact

22 years agoadjusted after Ramana Mokkapati's comments
Daniel Stenberg [Wed, 7 Nov 2001 09:39:49 +0000 (09:39 +0000)]
adjusted after Ramana Mokkapati's comments

22 years agomoo
Daniel Stenberg [Wed, 7 Nov 2001 09:37:57 +0000 (09:37 +0000)]
moo

22 years agoAdded VERSIONS that explains about the (lib)curl version numbers
Daniel Stenberg [Wed, 7 Nov 2001 08:26:51 +0000 (08:26 +0000)]
Added VERSIONS that explains about the (lib)curl version numbers

22 years agobug report #478780 fixed, cygwin stripped on install, some more details on
Daniel Stenberg [Tue, 6 Nov 2001 19:37:13 +0000 (19:37 +0000)]
bug report #478780 fixed, cygwin stripped on install, some more details on
the changes of yesterday

22 years agomyalarm() is history, we now use HAVE_ALARM and we now do our very best to
Daniel Stenberg [Tue, 6 Nov 2001 19:33:13 +0000 (19:33 +0000)]
myalarm() is history, we now use HAVE_ALARM and we now do our very best to
1 - restore the previous sigaction struct as soon as we are about to shut
off our timeout
2 - restore the previous alarm() timeout, in case an application or similar
had it running before we "borrowed" it for a while.

No, this does not fix the multi-thread problem you get with alarm(). This
patch should correct bug report #478780:
//sourceforge.net/tracker/?func=detail&atid=100976&aid=478780&group_id=976

If not, please post details!

22 years agoKevin's patch to install the binary stripped
Daniel Stenberg [Tue, 6 Nov 2001 08:44:58 +0000 (08:44 +0000)]
Kevin's patch to install the binary stripped

22 years agoRamana Mokkapati's, John Lask's and Detlef Schmier's reports/changes
Daniel Stenberg [Mon, 5 Nov 2001 14:11:19 +0000 (14:11 +0000)]
Ramana Mokkapati's, John Lask's and Detlef Schmier's reports/changes

22 years agoJohn Lask's fix that adds "-1/--TLSv1" support
Daniel Stenberg [Mon, 5 Nov 2001 14:08:27 +0000 (14:08 +0000)]
John Lask's fix that adds "-1/--TLSv1" support

22 years agoAdded an CURL_SSLVERSION_* enum for SSL protocol versions
Daniel Stenberg [Mon, 5 Nov 2001 14:07:20 +0000 (14:07 +0000)]
Added an CURL_SSLVERSION_* enum for SSL protocol versions

22 years agowe can now tell ssl to use TLSv1 protocol, and we now use defines instead
Daniel Stenberg [Mon, 5 Nov 2001 14:06:42 +0000 (14:06 +0000)]
we can now tell ssl to use TLSv1 protocol, and we now use defines instead
of real integers for versions, the defines are added to curl.h

22 years agoRamana Mokkapati did some good bug hunting, and we these fixes ldap transfers
Daniel Stenberg [Mon, 5 Nov 2001 14:04:57 +0000 (14:04 +0000)]
Ramana Mokkapati did some good bug hunting, and we these fixes ldap transfers
should work a lot better!

22 years agocorrected the Curl_tvnow prototype (-Wstrict-prototypes found it)
Daniel Stenberg [Mon, 5 Nov 2001 12:37:22 +0000 (12:37 +0000)]
corrected the Curl_tvnow prototype (-Wstrict-prototypes found it)

22 years agoCurl_ftpsendf() had wrong return type
Daniel Stenberg [Mon, 5 Nov 2001 12:24:21 +0000 (12:24 +0000)]
Curl_ftpsendf() had wrong return type

22 years agoadded john lask
Daniel Stenberg [Mon, 5 Nov 2001 11:57:36 +0000 (11:57 +0000)]
added john lask

22 years agoJohn Lask's new makefile
Daniel Stenberg [Mon, 5 Nov 2001 11:56:26 +0000 (11:56 +0000)]
John Lask's new makefile

22 years ago7.9.1 cleanup commit
Daniel Stenberg [Sun, 4 Nov 2001 11:35:12 +0000 (11:35 +0000)]
7.9.1 cleanup commit

22 years agoadded test 30, it checks that we return error on no content returned from a
Daniel Stenberg [Sun, 4 Nov 2001 11:21:32 +0000 (11:21 +0000)]
added test 30, it checks that we return error on no content returned from a
HTTP server

22 years agoimproved functionality for new timeout tests
Daniel Stenberg [Fri, 2 Nov 2001 23:09:25 +0000 (23:09 +0000)]
improved functionality for new timeout tests

22 years agonew tests
Daniel Stenberg [Fri, 2 Nov 2001 23:09:02 +0000 (23:09 +0000)]
new tests

22 years agofailf() now only overwrites the error buffer the first time it gets called
Daniel Stenberg [Fri, 2 Nov 2001 22:30:34 +0000 (22:30 +0000)]
failf() now only overwrites the error buffer the first time it gets called
for each *_perform(). It makes things a lot easier, as the first one that
detects the error get to write the final error reason...

22 years agoReplaced read() and write() with recv() and send()
Daniel Stenberg [Fri, 2 Nov 2001 14:23:11 +0000 (14:23 +0000)]
Replaced read() and write() with recv() and send()

22 years agomore accurate
Daniel Stenberg [Fri, 2 Nov 2001 13:16:29 +0000 (13:16 +0000)]
more accurate

22 years agoReplaced read() and write() with recv() and send() for socket operations
Daniel Stenberg [Fri, 2 Nov 2001 13:04:23 +0000 (13:04 +0000)]
Replaced read() and write() with recv() and send() for socket operations
even under normal unixes.

22 years agore-ordered, cleaned up
Daniel Stenberg [Fri, 2 Nov 2001 12:51:18 +0000 (12:51 +0000)]
re-ordered, cleaned up

22 years agoAdded connect.c. I really need someone to better maintain this makefile...
Daniel Stenberg [Fri, 2 Nov 2001 08:32:38 +0000 (08:32 +0000)]
Added connect.c. I really need someone to better maintain this makefile...

22 years agoJörn added connect.c
Daniel Stenberg [Fri, 2 Nov 2001 08:32:13 +0000 (08:32 +0000)]
Jörn added connect.c

22 years agoanother day another commit
Daniel Stenberg [Thu, 1 Nov 2001 15:26:43 +0000 (15:26 +0000)]
another day another commit

22 years agolibcurl can init winsock since 7.8.1
Daniel Stenberg [Thu, 1 Nov 2001 14:51:02 +0000 (14:51 +0000)]
libcurl can init winsock since 7.8.1

22 years agoConnectionExists() now returns FALSE immediately if it finds a connection
Daniel Stenberg [Thu, 1 Nov 2001 13:54:32 +0000 (13:54 +0000)]
ConnectionExists() now returns FALSE immediately if it finds a connection
that is dead, because it can only find one entry anyway and if that is dead
there won't be any other entry that matches

22 years agoadded comments and function headers
Daniel Stenberg [Thu, 1 Nov 2001 12:47:22 +0000 (12:47 +0000)]
added comments and function headers

22 years agoUpdate the byte counters in the loop so that aborted transfers have the
Daniel Stenberg [Thu, 1 Nov 2001 12:18:53 +0000 (12:18 +0000)]
Update the byte counters in the loop so that aborted transfers have the
information as well. Improves debug outputs etc.

22 years agoUse Curl_tvdiff to compare times
Daniel Stenberg [Thu, 1 Nov 2001 12:17:51 +0000 (12:17 +0000)]
Use Curl_tvdiff to compare times

22 years agoless I, more we
Daniel Stenberg [Thu, 1 Nov 2001 09:12:35 +0000 (09:12 +0000)]
less I, more we

22 years agominor mods to make solaris plain 'make' to not die on this
Daniel Stenberg [Thu, 1 Nov 2001 07:27:09 +0000 (07:27 +0000)]
minor mods to make solaris plain 'make' to not die on this

22 years agofixed FTPSENDF for ipv6 compiles
Daniel Stenberg [Wed, 31 Oct 2001 20:59:24 +0000 (20:59 +0000)]
fixed FTPSENDF for ipv6 compiles

22 years agoa bunch
Daniel Stenberg [Wed, 31 Oct 2001 20:54:21 +0000 (20:54 +0000)]
a bunch

22 years agoRemoved the SocketIsDead() stuff for SSL again as it doesn't work. We must
Daniel Stenberg [Wed, 31 Oct 2001 15:14:52 +0000 (15:14 +0000)]
Removed the SocketIsDead() stuff for SSL again as it doesn't work. We must
rely on the new go-ahead-and-try mechanism that I just added to Transfer()

22 years agoIf Curl_do() fails with CURLE_WRITE_ERROR on a re-used connection, this
Daniel Stenberg [Wed, 31 Oct 2001 15:13:19 +0000 (15:13 +0000)]
If Curl_do() fails with CURLE_WRITE_ERROR on a re-used connection, this
new logic can retry the same operation on a new connection!

22 years agoCurl_sendf now returns a CURLcode
Daniel Stenberg [Wed, 31 Oct 2001 15:08:16 +0000 (15:08 +0000)]
Curl_sendf now returns a CURLcode

22 years agoreturn type cleanup
Daniel Stenberg [Wed, 31 Oct 2001 15:07:45 +0000 (15:07 +0000)]
return type cleanup

22 years agocheck Curl_ftpsendf return codes
Daniel Stenberg [Wed, 31 Oct 2001 15:06:38 +0000 (15:06 +0000)]
check Curl_ftpsendf return codes

22 years agoAdded better checking of return codes when we send data to sockets/connections
Daniel Stenberg [Wed, 31 Oct 2001 14:57:00 +0000 (14:57 +0000)]
Added better checking of return codes when we send data to sockets/connections

22 years agomajor commit, now we check the return code on every invoke of Curl_ftpsendf
Daniel Stenberg [Wed, 31 Oct 2001 14:56:12 +0000 (14:56 +0000)]
major commit, now we check the return code on every invoke of Curl_ftpsendf
- which now is made using a macro named FTPSENDF. I turned it all caps just
to make it more visible that it is in fact a macro.

22 years agocheck return code when issuing the request
Daniel Stenberg [Wed, 31 Oct 2001 14:48:10 +0000 (14:48 +0000)]
check return code when issuing the request

22 years agoadded typecasts to make the timers calculate with doubles, not longs as they
Daniel Stenberg [Wed, 31 Oct 2001 14:45:47 +0000 (14:45 +0000)]
added typecasts to make the timers calculate with doubles, not longs as they
accidentally did after the Curl_tvdiff() interface change

22 years agoadded some -c talk, spell checked
Daniel Stenberg [Wed, 31 Oct 2001 13:42:38 +0000 (13:42 +0000)]
added some -c talk, spell checked

22 years agono need for mumbojumbo
Daniel Stenberg [Wed, 31 Oct 2001 12:48:18 +0000 (12:48 +0000)]
no need for mumbojumbo

22 years agoadded cool.haxx.se as an official mirror site
Daniel Stenberg [Wed, 31 Oct 2001 10:19:16 +0000 (10:19 +0000)]
added cool.haxx.se as an official mirror site

22 years agononblock => Curl_nonblock, remade the check for a live SSL connection (again)
Daniel Stenberg [Wed, 31 Oct 2001 08:44:11 +0000 (08:44 +0000)]
nonblock => Curl_nonblock, remade the check for a live SSL connection (again)

22 years agoAdded -0/--http1.0
Daniel Stenberg [Tue, 30 Oct 2001 15:39:11 +0000 (15:39 +0000)]
Added -0/--http1.0