sajith/curl+cyassl.git
15 years ago7.18.2 curl-7.18.2
bagder [Wed, 4 Jun 2008 15:38:27 +0000 (15:38 +0000)]
7.18.2

15 years agoFixed a problem where telnet data would be lost if an EWOULDBLOCK
danf [Tue, 3 Jun 2008 18:03:11 +0000 (18:03 +0000)]
Fixed a problem where telnet data would be lost if an EWOULDBLOCK
condition were encountered.

15 years agoFixed typo in comment
danf [Tue, 3 Jun 2008 18:00:48 +0000 (18:00 +0000)]
Fixed typo in comment

15 years agocurl returns 0 for these options now
bagder [Sun, 1 Jun 2008 22:10:21 +0000 (22:10 +0000)]
curl returns 0 for these options now

15 years agonow returns 0
bagder [Sun, 1 Jun 2008 22:04:09 +0000 (22:04 +0000)]
now returns 0

15 years ago(committed this for Marty Kuhrt:)
bagder [Sun, 1 Jun 2008 17:59:53 +0000 (17:59 +0000)]
(committed this for Marty Kuhrt:)
- Updated main.c to return CURLE_OK if PARAM_HELP_REQUESTED was returned
  from getparameter instead of CURLE_FAILED_INIT.  No point in returning
  an error if --help or --version were requested.

15 years agoreturn CURLE_OK instead of CURLE_FAILED_INIT if PARAM_HEKP_REQUESTED returned by...
curlvms [Sun, 1 Jun 2008 16:01:37 +0000 (16:01 +0000)]
return CURLE_OK instead of CURLE_FAILED_INIT if PARAM_HEKP_REQUESTED returned by getparameter

15 years agoFix problem: 'result' may be used uninitialized.
yangtse [Sat, 31 May 2008 01:37:21 +0000 (01:37 +0000)]
Fix problem: 'result' may be used uninitialized.
Issue detected by Guenter Knauf's NetWare autobuild.

15 years agoupdated to match curlmsg.msg 1.7
curlvms [Fri, 30 May 2008 23:53:25 +0000 (23:53 +0000)]
updated to match curlmsg.msg 1.7

15 years agoresync with curl.h messages
curlvms [Fri, 30 May 2008 23:52:06 +0000 (23:52 +0000)]
resync with curl.h messages

15 years agoresync with curl.h curle_ messages
curlvms [Fri, 30 May 2008 23:51:09 +0000 (23:51 +0000)]
resync with curl.h curle_ messages

15 years agoBrad House fixed a missing header file inclusion in adig sample program
yangtse [Fri, 30 May 2008 15:26:42 +0000 (15:26 +0000)]
Brad House fixed a missing header file inclusion in adig sample program

15 years agoAdded a new "13. Web Login" chapter
bagder [Thu, 29 May 2008 21:48:15 +0000 (21:48 +0000)]
Added a new "13. Web Login" chapter

15 years agostart working on 1.5.3
bagder [Thu, 29 May 2008 20:39:18 +0000 (20:39 +0000)]
start working on 1.5.3

15 years ago1.5.2 cares-1.5.2
bagder [Thu, 29 May 2008 20:10:40 +0000 (20:10 +0000)]
1.5.2

15 years agoFixed 142 and 143
bagder [Wed, 28 May 2008 20:57:03 +0000 (20:57 +0000)]
Fixed 142 and 143
Moved 144 to 7.18.3 instead

15 years ago- Emil Romanus found a problem and helped me repeat it. It occured when using
bagder [Wed, 28 May 2008 20:56:19 +0000 (20:56 +0000)]
- Emil Romanus found a problem and helped me repeat it. It occured when using
  the curl_multi_socket() API with HTTP pipelining enabled and could lead to
  the pipeline basically stalling for a very long period of time until it took
  off again.

15 years ago- Jeff Weber reported memory leaks with aborted SCP and SFTP transfers and
bagder [Wed, 28 May 2008 20:31:28 +0000 (20:31 +0000)]
- Jeff Weber reported memory leaks with aborted SCP and SFTP transfers and
  provided excellent repeat recipes. I fixed the cases I managed to reproduce
  but Jeff still got some (SCP) problems even after these fixes:
  http://curl.haxx.se/mail/lib-2008-05/0342.html

15 years agoKnown bug #55, libcurl fails to build with MIT Kerberos for Windows (KfW)
yangtse [Tue, 27 May 2008 16:10:51 +0000 (16:10 +0000)]
Known bug #55, libcurl fails to build with MIT Kerberos for Windows (KfW)
due to KfW's library header files exporting symbols/macros that should be
kept private to the KfW library. See ticket #5601 at http://krbdev.mit.edu/rt/

15 years ago- Bug report #1973352 (http://curl.haxx.se/bug/view.cgi?id=1973352) identified
bagder [Mon, 26 May 2008 20:39:41 +0000 (20:39 +0000)]
- Bug report #1973352 (curl.haxx.se/bug/view.cgi?id=1973352) identified
  how the HTTP redirect following code didn't properly follow to a new URL if
  the new url was but a query string such as "Location: ?moo=foo". Test case
  1031 was added to verify this fix.

15 years agoI'd like to see this fixed for the 7.18,2:
bagder [Mon, 26 May 2008 16:05:29 +0000 (16:05 +0000)]
I'd like to see this fixed for the 7.18,2:

144 - Help apps use 64bit/LFS libcurl

15 years agoAndreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS
bagder [Mon, 26 May 2008 15:09:28 +0000 (15:09 +0000)]
Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS

15 years agoAdded Haiku OS, sorted the list of i386 OSes
bagder [Mon, 26 May 2008 15:06:51 +0000 (15:06 +0000)]
Added Haiku OS, sorted the list of i386 OSes

15 years agofix compiler warning: unreferenced formal parameter
yangtse [Mon, 26 May 2008 13:52:25 +0000 (13:52 +0000)]
fix compiler warning: unreferenced formal parameter

15 years agoDavid Rosenstrauch reported that header files spnegohelp.h and
yangtse [Mon, 26 May 2008 03:10:34 +0000 (03:10 +0000)]
David Rosenstrauch reported that header files spnegohelp.h and
openssl/objects.h were needed to compile SPNEGO support.

15 years agofix: preprocessor complaining about macro redefinition
yangtse [Mon, 26 May 2008 01:59:00 +0000 (01:59 +0000)]
fix: preprocessor complaining about macro redefinition

15 years agosummary of the current outstanding issues for upcoming and the subsequent
bagder [Sat, 24 May 2008 19:28:31 +0000 (19:28 +0000)]
summary of the current outstanding issues for upcoming and the subsequent
releases

15 years agoChristopher Palow's multi interface docs updates
bagder [Sat, 24 May 2008 19:19:49 +0000 (19:19 +0000)]
Christopher Palow's multi interface docs updates

15 years agoNikolai Kondrashov for his man page update
bagder [Sat, 24 May 2008 11:20:11 +0000 (11:20 +0000)]
Nikolai Kondrashov for his man page update

15 years agoNikolai Kondrashov provided a clarification for CURLOPT_HEADERFUNCTION
bagder [Sat, 24 May 2008 11:19:51 +0000 (11:19 +0000)]
Nikolai Kondrashov provided a clarification for CURLOPT_HEADERFUNCTION

15 years agolist all local sources the (demo) tools need, add a few missing scripts to
bagder [Fri, 23 May 2008 21:52:56 +0000 (21:52 +0000)]
list all local sources the (demo) tools need, add a few missing scripts to
the dist tarball and remove a two duplicate file names from EXTRA_DIST
(most of it pointed out by Yang Tse)

15 years agothis is not used (anymore)
bagder [Fri, 23 May 2008 21:46:29 +0000 (21:46 +0000)]
this is not used (anymore)

15 years agoAdded some more to do items and a known bug.
danf [Fri, 23 May 2008 20:52:46 +0000 (20:52 +0000)]
Added some more to do items and a known bug.

15 years agoDan Fandrich pointed out that this is the way we should increase the number
bagder [Fri, 23 May 2008 17:56:03 +0000 (17:56 +0000)]
Dan Fandrich pointed out that this is the way we should increase the number
for 7.18.2 since we have added functions in this release.

http://curl.haxx.se/mail/lib-2008-05/0240.html

15 years agoMade sure to pass longs in to curl_easy_setopt where necessary in the
danf [Thu, 22 May 2008 21:49:52 +0000 (21:49 +0000)]
Made sure to pass longs in to curl_easy_setopt where necessary in the
libtest code.

15 years agoFixed a surprising number of example programs that were passing int arguments
danf [Thu, 22 May 2008 21:20:07 +0000 (21:20 +0000)]
Fixed a surprising number of example programs that were passing int arguments
to curl_easy_setopt instead of long.

15 years agowe bump the SO "revision" for next release due to the new functions added
bagder [Thu, 22 May 2008 20:34:47 +0000 (20:34 +0000)]
we bump the SO "revision" for next release due to the new functions added

15 years agoFixed some include file problems on Windows reported by David Rosenstrauch
danf [Thu, 22 May 2008 19:44:10 +0000 (19:44 +0000)]
Fixed some include file problems on Windows reported by David Rosenstrauch

15 years agomake sure the configure.ac file with the correct version number is shipped
bagder [Thu, 22 May 2008 17:41:29 +0000 (17:41 +0000)]
make sure the configure.ac file with the correct version number is shipped
in the tarball

15 years agoMSVC6+ clean-up targets must also remove acountry.exe
yangtse [Thu, 22 May 2008 16:10:57 +0000 (16:10 +0000)]
MSVC6+ clean-up targets must also remove acountry.exe

15 years agosync with reality
yangtse [Thu, 22 May 2008 15:31:06 +0000 (15:31 +0000)]
sync with reality

15 years agoRenamed MSDOS_FILESYSTEM to avoid conflict with MIT GSS
danf [Wed, 21 May 2008 21:36:42 +0000 (21:36 +0000)]
Renamed MSDOS_FILESYSTEM to avoid conflict with MIT GSS

15 years agoRemoved some duplicated #includes
danf [Wed, 21 May 2008 21:08:31 +0000 (21:08 +0000)]
Removed some duplicated #includes

15 years agofix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when empty
yangtse [Wed, 21 May 2008 18:24:09 +0000 (18:24 +0000)]
fix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when empty

15 years agofix: remove need and definition of HAVE_SOCKLEN_T symbol
yangtse [Wed, 21 May 2008 14:04:14 +0000 (14:04 +0000)]
fix: remove need and definition of HAVE_SOCKLEN_T symbol

15 years agofix: socklen_t definition comment
yangtse [Wed, 21 May 2008 13:57:50 +0000 (13:57 +0000)]
fix: socklen_t definition comment

15 years agoWhen unable to properly detect gethostbyname_r() usage, configure
yangtse [Tue, 20 May 2008 17:30:41 +0000 (17:30 +0000)]
When unable to properly detect gethostbyname_r() usage, configure
script will simply issue a warning and gethostbyname() will be used.

15 years agoupdate several macros using AC_TRY_LINK with AC_LINK_IFELSE
yangtse [Tue, 20 May 2008 15:55:31 +0000 (15:55 +0000)]
update several macros using AC_TRY_LINK with AC_LINK_IFELSE

15 years agoAdapting last changes to OS400:
patrickm [Tue, 20 May 2008 10:21:50 +0000 (10:21 +0000)]
Adapting last changes to OS400:
_ Updated packages/OS400/curl.inc.in with new definitions.
_ New connect/bind/sendto/recvfrom wrappers to support AF_UNIX sockets.
_ Include files line length shortened below 100 chars.
_ Const parameter in lib/qssl.[ch].
_ Typos in packages/OS400/initscript.sh.

15 years agofix underquoting of AC_LANG_PROGRAM arguments
yangtse [Tue, 20 May 2008 04:23:30 +0000 (04:23 +0000)]
fix underquoting of AC_LANG_PROGRAM arguments

15 years agoif'def out private function ares__tvdiff(), it is not in use yet.
yangtse [Tue, 20 May 2008 01:24:19 +0000 (01:24 +0000)]
if'def out private function ares__tvdiff(), it is not in use yet.

15 years agoupdate several macros using AC_TRY_LINK with AC_LINK_IFELSE
yangtse [Tue, 20 May 2008 01:03:45 +0000 (01:03 +0000)]
update several macros using AC_TRY_LINK with AC_LINK_IFELSE

15 years ago- When trying to repeat a multi interface problem I fell over a few multi
bagder [Mon, 19 May 2008 20:58:12 +0000 (20:58 +0000)]
- When trying to repeat a multi interface problem I fell over a few multi
  interface problems:

  o with pipelining disabled, the state should never be set to WAITDO but
    rather go straight to DO

  o we had multiple states for which the internal function returned no socket
    at all to wait for, with the effect that libcurl calls the socket callback
    (when curl_multi_socket() is used) with REMOVE prematurely (as it would be
    added again within very shortly)

  o when in DO and DOING states, the HTTP and HTTPS protocol handler functions
    didn't return that the socket should be waited for writing, but instead it
    was treated as if no socket was needing monitoring so again REMOVE was
    called prematurely.

15 years agowith pipelining disabled, the state should never be set to WAITDO but rather
bagder [Mon, 19 May 2008 20:58:01 +0000 (20:58 +0000)]
with pipelining disabled, the state should never be set to WAITDO but rather
go straight to DO

we had multiple states for which the internal function returned no socket at
all to wait for, with the effect that libcurl calls the socket callback (when
curl_multi_socket() is used) with REMOVE prematurely (as it would be added
again within very shortly)

15 years agowhen the multi handle was in DO and DOING states, the HTTP and HTTPS protocol
bagder [Mon, 19 May 2008 20:57:28 +0000 (20:57 +0000)]
when the multi handle was in DO and DOING states, the HTTP and HTTPS protocol
handler functions didn't return that the socket should be waited for writing,
but instead it was treated as if no socket was needing monitoring so REMOVE
was called prematurely

15 years agochange the code style to be more curlish, and changed some of the output
bagder [Mon, 19 May 2008 20:40:53 +0000 (20:40 +0000)]
change the code style to be more curlish, and changed some of the output
to be more descriptive and finally set VERBOSE mode to 1 by default

15 years agobetter select() function detection that works
yangtse [Mon, 19 May 2008 16:57:56 +0000 (16:57 +0000)]
better select() function detection that works
even when cross compiling a Windows target.

15 years agofix socklen_t equivalent detection when cross compiling Windows target
yangtse [Mon, 19 May 2008 12:31:11 +0000 (12:31 +0000)]
fix socklen_t equivalent detection when cross compiling Windows target

15 years agoif WINSOCK2 API is used link with 'ws2_32', else
yangtse [Mon, 19 May 2008 02:50:29 +0000 (02:50 +0000)]
if WINSOCK2 API is used link with 'ws2_32', else

if WINSOCK API is used under WinCE link with 'winsock', else

if WINSOCK API is used link with 'wsock32'.

15 years agoon winsock systems linking is done using library 'ws2_32' when
yangtse [Sun, 18 May 2008 20:13:13 +0000 (20:13 +0000)]
on winsock systems linking is done using library 'ws2_32' when
winsock2.h is available, and library 'winsock' is used when only
winsock.h is available.

15 years agominor change for wince-cegcc and wince-mingw32ce support
yangtse [Sat, 17 May 2008 01:20:56 +0000 (01:20 +0000)]
minor change for wince-cegcc and wince-mingw32ce support

15 years agoremoved lots of warnings
bagder [Fri, 16 May 2008 21:14:50 +0000 (21:14 +0000)]
removed lots of warnings

15 years agomillisecond resolution support followup
yangtse [Thu, 15 May 2008 22:57:33 +0000 (22:57 +0000)]
millisecond resolution support followup

15 years agoIncluded stdint.h to get the intptr_t type (needed on OpenBSD at least).
danf [Thu, 15 May 2008 22:31:23 +0000 (22:31 +0000)]
Included stdint.h to get the intptr_t type (needed on OpenBSD at least).

15 years agoten days with no further response or feedback, removing:
bagder [Thu, 15 May 2008 22:02:47 +0000 (22:02 +0000)]
ten days with no further response or feedback, removing:
136 - adding easy handles when using curl_multi_socket* by
      Markus Koetter

15 years agoReplaced "-DHAVE_FIONBIO" with "-DHAVE_IOCTLSOCKET".
giva [Thu, 15 May 2008 20:47:45 +0000 (20:47 +0000)]
Replaced "-DHAVE_FIONBIO" with "-DHAVE_IOCTLSOCKET".
Added "-DHAVE_GETTIMEOFDAY". Trimmed lines.

15 years agosync with reality
yangtse [Thu, 15 May 2008 10:04:15 +0000 (10:04 +0000)]
sync with reality

15 years agoremove compilation time generated files
yangtse [Thu, 15 May 2008 09:18:05 +0000 (09:18 +0000)]
remove compilation time generated files

15 years agouse same time source for timeout initialization and processing
yangtse [Thu, 15 May 2008 00:00:19 +0000 (00:00 +0000)]
use same time source for timeout initialization and processing

15 years agoReduced the required stack size.
danf [Wed, 14 May 2008 23:38:21 +0000 (23:38 +0000)]
Reduced the required stack size.

15 years agoMove the CURLDEBUG check after setup.h so it can be set there if necessary.
danf [Wed, 14 May 2008 23:36:26 +0000 (23:36 +0000)]
Move the CURLDEBUG check after setup.h so it can be set there if necessary.

15 years agoImprove toolchain detection for WinCE cross compilation:
yangtse [Wed, 14 May 2008 19:42:17 +0000 (19:42 +0000)]
Improve toolchain detection for WinCE cross compilation:

When cross compiling WinCE with the arm-wince-cegcc-gcc C compiler
symbol __CEGCC__ is defined and the unix-like compatibility layer
is used. For our purposes this is not a native Windows build.

When cross compiling WinCE with the arm-wince-mingw32ce-gcc C compiler
symbol __MINGW32CE__ is defined and the unix-like compatibility layer
is not used. For our purposes this _is_ a native Windows build.

15 years agoremove duplicate check
yangtse [Wed, 14 May 2008 16:17:23 +0000 (16:17 +0000)]
remove duplicate check

15 years agoskip checks for Windows specific header files
yangtse [Wed, 14 May 2008 16:14:35 +0000 (16:14 +0000)]
skip checks for Windows specific header files
when build target is not a native Windows one

15 years agoWinCE cross compilation adjustments:
yangtse [Wed, 14 May 2008 13:54:36 +0000 (13:54 +0000)]
WinCE cross compilation adjustments:

HAVE_WINSOCK2_H shall not be defined.
HAVE_WS2TCPIP_H shall not be defined.

15 years agowait for all 129 bytes
bagder [Tue, 13 May 2008 21:43:37 +0000 (21:43 +0000)]
wait for all 129 bytes

15 years agoAdded test case 556 that uses curl_easy_send() and curl_easy_recv()
bagder [Tue, 13 May 2008 21:42:07 +0000 (21:42 +0000)]
Added test case 556 that uses curl_easy_send() and curl_easy_recv()

15 years agoThree out of the four issues are now extinct.
bagder [Tue, 13 May 2008 21:12:07 +0000 (21:12 +0000)]
Three out of the four issues are now extinct.

15 years ago- Introducing millisecond resolution support for the timeout option. See
bagder [Tue, 13 May 2008 20:48:48 +0000 (20:48 +0000)]
- Introducing millisecond resolution support for the timeout option. See
  ares_init_options()'s ARES_OPT_TIMEOUTMS.

15 years agoalso ignore this
yangtse [Tue, 13 May 2008 18:27:18 +0000 (18:27 +0000)]
also ignore this

15 years agoAdded curl_easy_recv & curl_easy_send Symbian exports.
danf [Tue, 13 May 2008 17:50:03 +0000 (17:50 +0000)]
Added curl_easy_recv & curl_easy_send Symbian exports.
Cleaned up Symbian files.

15 years agoalso ignore this
yangtse [Tue, 13 May 2008 17:23:01 +0000 (17:23 +0000)]
also ignore this

15 years agoignore this compilation time generated files
yangtse [Tue, 13 May 2008 17:11:16 +0000 (17:11 +0000)]
ignore this compilation time generated files

15 years agodon't keep in CVS this compilation time generated file
yangtse [Tue, 13 May 2008 17:03:28 +0000 (17:03 +0000)]
don't keep in CVS this compilation time generated file

15 years agoadd MSVC6 project for acountry sample program
yangtse [Tue, 13 May 2008 15:37:49 +0000 (15:37 +0000)]
add MSVC6 project for acountry sample program

15 years agoupdate MSVC6 projects to use the multithreaded DLL runtime library
yangtse [Tue, 13 May 2008 15:34:22 +0000 (15:34 +0000)]
update MSVC6 projects to use the multithreaded DLL runtime library

15 years agoadd MSVC6 project for acountry sample program
yangtse [Tue, 13 May 2008 15:31:19 +0000 (15:31 +0000)]
add MSVC6 project for acountry sample program

15 years ago- Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
bagder [Mon, 12 May 2008 21:43:24 +0000 (21:43 +0000)]
- Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
  and receive data over a connection previously setup with curl_easy_perform()
  and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to
  show how they can be used.

15 years agoskip libtool C++ preprocessor compiler and linker checks
yangtse [Mon, 12 May 2008 15:02:51 +0000 (15:02 +0000)]
skip libtool C++ preprocessor compiler and linker checks

15 years agoignore libcares.pc
yangtse [Mon, 12 May 2008 12:22:23 +0000 (12:22 +0000)]
ignore libcares.pc

15 years agoconfigure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol only
yangtse [Mon, 12 May 2008 02:04:21 +0000 (02:04 +0000)]
configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol only
when function clock_gettime() is available and the monotonic timer is
also available. Otherwise, in some cases, librt or libposix4 could be used
for linking even when finally not using the clock_gettime() function due
to lack of the monotonic clock.

16 years agofix syntax error: missing semicolon
yangtse [Sat, 10 May 2008 23:50:55 +0000 (23:50 +0000)]
fix syntax error: missing semicolon

16 years agoAdd library checking for clock_gettime() support
yangtse [Sat, 10 May 2008 15:46:08 +0000 (15:46 +0000)]
Add library checking for clock_gettime() support

16 years agoInternal time differences now use monotonic time source if available.
yangtse [Fri, 9 May 2008 16:31:51 +0000 (16:31 +0000)]
Internal time differences now use monotonic time source if available.
This also implies the removal of the winmm.lib dependency for WIN32.

16 years agoUse monotonic time source if available.
yangtse [Fri, 9 May 2008 16:30:24 +0000 (16:30 +0000)]
Use monotonic time source if available.

16 years agoRemoved AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is too
bagder [Fri, 9 May 2008 13:10:34 +0000 (13:10 +0000)]
Removed AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is too
liberal for me. Also, autoconf 2.61 and earlier doesn't work with icc 10.1
for this macro. (2.62 confirmed to work though). See discusson on the mailing
list starting here:

http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2008-05/0001.shtml

16 years ago- Stefan Krause reported a busy-looping case when using the multi interface
bagder [Fri, 9 May 2008 12:59:24 +0000 (12:59 +0000)]
- Stefan Krause reported a busy-looping case when using the multi interface
  and doing CONNECT to a proxy. The app would then busy-loop until the proxy
  completed its response.

16 years agoRemoved an unused variable and one do-while loop that wasn't used either.
bagder [Fri, 9 May 2008 12:53:42 +0000 (12:53 +0000)]
Removed an unused variable and one do-while loop that wasn't used either.
Added a few comments while at it.

16 years ago- Make Curl_write and it's callees accept a const pointer, in preparation
mmarek [Fri, 9 May 2008 11:27:54 +0000 (11:27 +0000)]
- Make Curl_write and it's callees accept a const pointer, in preparation
  of tetetest's patch for curl_easy_send()

16 years agoinclude strings.h (if available) for the strcasecmp() proto
bagder [Thu, 8 May 2008 22:14:17 +0000 (22:14 +0000)]
include strings.h (if available) for the strcasecmp() proto