Daniel Stenberg [Mon, 12 Nov 2001 14:08:41 +0000 (14:08 +0000)]
made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as well
Daniel Stenberg [Mon, 12 Nov 2001 10:19:36 +0000 (10:19 +0000)]
include setup.h
Daniel Stenberg [Mon, 12 Nov 2001 09:47:09 +0000 (09:47 +0000)]
new Curl_ConnectHTTPProxyTunnel() function, needs a **lot** of testing!!!
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
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...
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!
Daniel Stenberg [Thu, 8 Nov 2001 12:36:00 +0000 (12:36 +0000)]
Added two missing return codes...
Daniel Stenberg [Thu, 8 Nov 2001 12:16:10 +0000 (12:16 +0000)]
the proof I did something yesterday as well
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.
Daniel Stenberg [Wed, 7 Nov 2001 12:56:13 +0000 (12:56 +0000)]
get the previous struct keep_sigact
Daniel Stenberg [Wed, 7 Nov 2001 09:39:49 +0000 (09:39 +0000)]
adjusted after Ramana Mokkapati's comments
Daniel Stenberg [Wed, 7 Nov 2001 09:37:57 +0000 (09:37 +0000)]
moo
Daniel Stenberg [Wed, 7 Nov 2001 08:26:51 +0000 (08:26 +0000)]
Added VERSIONS that explains about the (lib)curl version numbers
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
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!
Daniel Stenberg [Tue, 6 Nov 2001 08:44:58 +0000 (08:44 +0000)]
Kevin's patch to install the binary stripped
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
Daniel Stenberg [Mon, 5 Nov 2001 14:08:27 +0000 (14:08 +0000)]
John Lask's fix that adds "-1/--TLSv1" support
Daniel Stenberg [Mon, 5 Nov 2001 14:07:20 +0000 (14:07 +0000)]
Added an CURL_SSLVERSION_* enum for SSL protocol versions
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
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!
Daniel Stenberg [Mon, 5 Nov 2001 12:37:22 +0000 (12:37 +0000)]
corrected the Curl_tvnow prototype (-Wstrict-prototypes found it)
Daniel Stenberg [Mon, 5 Nov 2001 12:24:21 +0000 (12:24 +0000)]
Curl_ftpsendf() had wrong return type
Daniel Stenberg [Mon, 5 Nov 2001 11:57:36 +0000 (11:57 +0000)]
added john lask
Daniel Stenberg [Mon, 5 Nov 2001 11:56:26 +0000 (11:56 +0000)]
John Lask's new makefile
Daniel Stenberg [Sun, 4 Nov 2001 11:35:12 +0000 (11:35 +0000)]
7.9.1 cleanup commit
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
Daniel Stenberg [Fri, 2 Nov 2001 23:09:25 +0000 (23:09 +0000)]
improved functionality for new timeout tests
Daniel Stenberg [Fri, 2 Nov 2001 23:09:02 +0000 (23:09 +0000)]
new tests
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...
Daniel Stenberg [Fri, 2 Nov 2001 14:23:11 +0000 (14:23 +0000)]
Replaced read() and write() with recv() and send()
Daniel Stenberg [Fri, 2 Nov 2001 13:16:29 +0000 (13:16 +0000)]
more accurate
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.
Daniel Stenberg [Fri, 2 Nov 2001 12:51:18 +0000 (12:51 +0000)]
re-ordered, cleaned up
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...
Daniel Stenberg [Fri, 2 Nov 2001 08:32:13 +0000 (08:32 +0000)]
Jörn added connect.c
Daniel Stenberg [Thu, 1 Nov 2001 15:26:43 +0000 (15:26 +0000)]
another day another commit
Daniel Stenberg [Thu, 1 Nov 2001 14:51:02 +0000 (14:51 +0000)]
libcurl can init winsock since 7.8.1
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
Daniel Stenberg [Thu, 1 Nov 2001 12:47:22 +0000 (12:47 +0000)]
added comments and function headers
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.
Daniel Stenberg [Thu, 1 Nov 2001 12:17:51 +0000 (12:17 +0000)]
Use Curl_tvdiff to compare times
Daniel Stenberg [Thu, 1 Nov 2001 09:12:35 +0000 (09:12 +0000)]
less I, more we
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
Daniel Stenberg [Wed, 31 Oct 2001 20:59:24 +0000 (20:59 +0000)]
fixed FTPSENDF for ipv6 compiles
Daniel Stenberg [Wed, 31 Oct 2001 20:54:21 +0000 (20:54 +0000)]
a bunch
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()
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!
Daniel Stenberg [Wed, 31 Oct 2001 15:08:16 +0000 (15:08 +0000)]
Curl_sendf now returns a CURLcode
Daniel Stenberg [Wed, 31 Oct 2001 15:07:45 +0000 (15:07 +0000)]
return type cleanup
Daniel Stenberg [Wed, 31 Oct 2001 15:06:38 +0000 (15:06 +0000)]
check Curl_ftpsendf return codes
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
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.
Daniel Stenberg [Wed, 31 Oct 2001 14:48:10 +0000 (14:48 +0000)]
check return code when issuing the request
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
Daniel Stenberg [Wed, 31 Oct 2001 13:42:38 +0000 (13:42 +0000)]
added some -c talk, spell checked
Daniel Stenberg [Wed, 31 Oct 2001 12:48:18 +0000 (12:48 +0000)]
no need for mumbojumbo
Daniel Stenberg [Wed, 31 Oct 2001 10:19:16 +0000 (10:19 +0000)]
added cool.haxx.se as an official mirror site
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)
Daniel Stenberg [Tue, 30 Oct 2001 15:39:11 +0000 (15:39 +0000)]
Added -0/--http1.0
Daniel Stenberg [Tue, 30 Oct 2001 15:32:48 +0000 (15:32 +0000)]
removed the 'in documentation' part, as I've expressed in public before
Daniel Stenberg [Tue, 30 Oct 2001 15:21:45 +0000 (15:21 +0000)]
Added an additional SSL check for a dead socket before we re-use an SSL
connection. The simple socket-check is not enough in these cases.
Daniel Stenberg [Tue, 30 Oct 2001 12:08:17 +0000 (12:08 +0000)]
prevent strdup()ing NULL -- Paul Harrington's report
Daniel Stenberg [Tue, 30 Oct 2001 08:09:57 +0000 (08:09 +0000)]
Corrected the -T description
Daniel Stenberg [Tue, 30 Oct 2001 08:09:08 +0000 (08:09 +0000)]
removed silly old -t usage from here, added some blurb about the "new" -t
that sets telnet options
Daniel Stenberg [Mon, 29 Oct 2001 22:17:19 +0000 (22:17 +0000)]
Kevin Roth updates
Daniel Stenberg [Mon, 29 Oct 2001 13:41:16 +0000 (13:41 +0000)]
corrected return code, general cleanup
Daniel Stenberg [Mon, 29 Oct 2001 13:28:44 +0000 (13:28 +0000)]
added curl_formadd
Daniel Stenberg [Mon, 29 Oct 2001 13:21:25 +0000 (13:21 +0000)]
minor fix to support multiple files in one formadd() call
Daniel Stenberg [Mon, 29 Oct 2001 10:46:20 +0000 (10:46 +0000)]
29 October fixes
Daniel Stenberg [Mon, 29 Oct 2001 10:32:39 +0000 (10:32 +0000)]
Kevin Roth's cygwin package fixes
Daniel Stenberg [Mon, 29 Oct 2001 10:31:52 +0000 (10:31 +0000)]
Cygwin moved into the win32 drawer
Daniel Stenberg [Mon, 29 Oct 2001 10:10:21 +0000 (10:10 +0000)]
fixed conn->name error on connection re-use and enlarged the 'gname' array
to hold 512 bytes (for user+password+hostname)
Daniel Stenberg [Mon, 29 Oct 2001 07:49:57 +0000 (07:49 +0000)]
SM's waitconnect return code fix!
Daniel Stenberg [Fri, 26 Oct 2001 12:36:25 +0000 (12:36 +0000)]
changed the Location: to match one Paul Harrington reports a problem with
Daniel Stenberg [Fri, 26 Oct 2001 11:34:02 +0000 (11:34 +0000)]
ldap fix, test28 added
Daniel Stenberg [Fri, 26 Oct 2001 11:25:03 +0000 (11:25 +0000)]
made 'timespent' a double, which makes more accurate calculations for quick
downloads
Daniel Stenberg [Fri, 26 Oct 2001 11:01:33 +0000 (11:01 +0000)]
test28 added for "Location: extraspace" test
Daniel Stenberg [Thu, 25 Oct 2001 08:28:29 +0000 (08:28 +0000)]
bug report #474568 -
We need to set "no further data to download" before the Curl_ldap() function
returns, as otherwise it'll hang on that assumed transfer.
Daniel Stenberg [Wed, 24 Oct 2001 14:16:57 +0000 (14:16 +0000)]
added "s390 Linux" as a platform that curl was compiled for, and I also sorted
the list of machines
Daniel Stenberg [Wed, 24 Oct 2001 11:54:42 +0000 (11:54 +0000)]
added a section about cross compiling that Jim Duey wrote down for us
Daniel Stenberg [Wed, 24 Oct 2001 11:44:18 +0000 (11:44 +0000)]
lots and lots
Daniel Stenberg [Wed, 24 Oct 2001 11:39:48 +0000 (11:39 +0000)]
test case 27 added, to make sure cookie replacing don't leak anything
Daniel Stenberg [Wed, 24 Oct 2001 11:39:15 +0000 (11:39 +0000)]
now reports the CORRECT pid on demand
Daniel Stenberg [Wed, 24 Oct 2001 11:36:55 +0000 (11:36 +0000)]
T. Bharath found this memory leak. It occurs when we replace an internally
already existing cookie with a new one.
Daniel Stenberg [Tue, 23 Oct 2001 12:11:43 +0000 (12:11 +0000)]
pack_hostent() now aligns the data properly on 64bit boundaries to work on
more CPU architectures
Daniel Stenberg [Tue, 23 Oct 2001 10:12:28 +0000 (10:12 +0000)]
grammar grammar!
Daniel Stenberg [Tue, 23 Oct 2001 10:12:00 +0000 (10:12 +0000)]
added "3.12 Why do FTP specific features over HTTP proxy fails?"
Daniel Stenberg [Tue, 23 Oct 2001 07:54:16 +0000 (07:54 +0000)]
added AC_PREREQ(2.50) to prevent autoconf mistakes
Daniel Stenberg [Mon, 22 Oct 2001 22:15:50 +0000 (22:15 +0000)]
An SGI (IRIX) compiler doesn't like indended #-instructions, so they're all
in column zero now!
Daniel Stenberg [Mon, 22 Oct 2001 12:52:25 +0000 (12:52 +0000)]
make sure the connect can't return OK but return a NULL as addr
Daniel Stenberg [Mon, 22 Oct 2001 06:39:47 +0000 (06:39 +0000)]
2000 => 2001
Daniel Stenberg [Mon, 22 Oct 2001 06:35:19 +0000 (06:35 +0000)]
rephrased the WRITEFUNCTION description a bit
Daniel Stenberg [Mon, 22 Oct 2001 06:34:14 +0000 (06:34 +0000)]
failed transfers will now close the connection
Daniel Stenberg [Mon, 22 Oct 2001 06:32:54 +0000 (06:32 +0000)]
added cygwin package makefile
Daniel Stenberg [Mon, 22 Oct 2001 06:27:12 +0000 (06:27 +0000)]
Cygwin files
Daniel Stenberg [Mon, 22 Oct 2001 06:26:30 +0000 (06:26 +0000)]
Kevin Roth's cygwin fixes
Daniel Stenberg [Mon, 22 Oct 2001 06:08:09 +0000 (06:08 +0000)]
A Kevin Roth patch. -- It's a post 1.4.2 patch that will become part of
libtool 1.4.3, and it's required to allow "make install" to function properly
on cygwin.
Daniel Stenberg [Fri, 19 Oct 2001 11:59:04 +0000 (11:59 +0000)]
new return code: CURLE_GOT_NOTHING
Daniel Stenberg [Fri, 19 Oct 2001 11:58:32 +0000 (11:58 +0000)]
now counts header size return from server and if nothing is returned from a
HTTP server we return error