Daniel Stenberg
a49e78d9b7
Added CURLMOPT_MAXCONNECTS which is a curl_multi_setopt() option for setting
...
the maximum size of the connection cache maximum size of the multi handle.
2007-05-30 20:04:44 +00:00
Daniel Stenberg
76627b322e
- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is a
...
function that deprecates the curl_multi_socket() function. Using the new
function the application tell libcurl what action that was found in the
socket that it passes in. This gives a significant performance boost as it
allows libcurl to avoid a call to poll()/select() for every call to
curl_multi_socket*().
2007-04-16 16:34:08 +00:00
Daniel Stenberg
b61c06384a
Jeff Pohlmeyer has been working with the hiperfifo.c example source code,
...
and while doing so it became apparent that the current timeout system for
the socket API really was a bit awkward since it become quite some work to
be sure we have the correct timeout set.
Jeff then provided the new CURLMOPT_TIMERFUNCTION that is yet another
callback the app can set to get to know when the general timeout time
changes and thus for an application like hiperfifo.c it makes everything a
lot easier and nicer. There's a CURLMOPT_TIMERDATA option too of course in
good old libcurl tradition.
2006-10-12 08:36:47 +00:00
Daniel Stenberg
b7eeb6e67f
Major overhaul introducing http pipelining support and shared connection
...
cache within the multi handle.
2006-09-07 21:49:20 +00:00
Daniel Stenberg
5acadc9cd7
David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to
...
allow applications to set their own socket options.
2006-08-29 14:39:33 +00:00
Dan Fandrich
eb26a581f9
Use __minix to detect Minix, which works on both ACK and GCC.
2006-08-11 18:11:42 +00:00
Dan Fandrich
c012e2b408
Initial stab at making libcurl compile under Minix 3.
2006-08-04 18:53:47 +00:00
Daniel Stenberg
51f258d103
adding CURLM_CALL_MULTI_SOCKET that's just the same as CURLM_CALL_MULTI_PERFORM
2006-08-03 21:31:23 +00:00
Daniel Stenberg
01b2cf82ec
curl_multi_socket() and curl_multi_socket_all() got modified prototypes: they
...
both now provide the number of running handles back to the calling function.
2006-07-30 22:44:07 +00:00
Daniel Stenberg
6f6b93da02
[Hiper-related work] Added a function called curl_multi_assign() that will
...
set a private pointer added to the internal libcurl hash table for the
particular socket passed in to this function.
2006-07-26 22:19:42 +00:00
Yang Tse
bc2f0c7dcb
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
2006-07-05 23:10:37 +00:00
Daniel Stenberg
778b6a86c0
curl_multi_socket() updates
2006-04-10 13:12:52 +00:00
Daniel Stenberg
c44d2498e3
include sys/select.h on NetBSD as well
2006-01-28 13:13:58 +00:00
Daniel Stenberg
bda1e9aeab
Made the copyright year match the latest modification's year.
2006-01-09 13:17:14 +00:00
Daniel Stenberg
b6e9229cf0
Removed inaccurate comment for upcoming curl_multi_socket() and family.
...
Modified the callback proto used for it.
2006-01-02 23:37:48 +00:00
Yang Tse
e6b98d3152
Undo previous change. This header file belongs to the public
...
interface and the change could break the compilation of thrid
party apps which link against this library.
2005-12-19 00:15:04 +00:00
Yang Tse
d6c5d24af3
Cleanup windows header includes. Where aplicable, inclusion of
...
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-12-18 15:36:14 +00:00
Daniel Stenberg
fdf9900114
added note about the inclusion of curl.h from within this file
2005-11-28 07:43:53 +00:00
Daniel Stenberg
fdef584681
Mohun Biswas' suggested change to prevent GNU indent to warn on the =-1 line.
2005-10-18 07:26:43 +00:00
Daniel Stenberg
9a9c07f571
Initial curl_multi_socket() stuff, #ifdef'ed out for now but committed for
...
documentational purposes.
2005-04-18 11:40:50 +00:00
Daniel Stenberg
ab4086bc24
Updated the copyright year since changes have been this year.
2005-03-31 07:02:02 +00:00
Daniel Stenberg
0406b1facf
skip sys/socket.h on windows CE
2005-01-18 15:13:23 +00:00
Gisle Vanem
3ccbed1022
Changes for removing libcurl.def file on Win32.
...
Mark public functions with "CURL_EXTERN".
2004-11-09 14:02:58 +00:00
Daniel Stenberg
24d47a6e07
Paul Nolan fix to make libcurl build nicely on Windows CE
2004-11-02 10:12:22 +00:00
Daniel Stenberg
d4db35c125
Günter Knauf and Casey O'Donnell worked out an extra #if condition for the
...
curl/multi.h header to work better in winsock-using apps.
2004-09-30 19:50:36 +00:00
Daniel Stenberg
d0dcb3b554
removed trailing whitespace
2004-08-17 19:46:34 +00:00
Daniel Stenberg
eab8cdc640
Added protos for the upcoming curl_*_strerror() functions
2004-03-24 22:53:42 +00:00
Daniel Stenberg
5b55f9ecb3
Günter Knauf's NetWare changes.
2004-03-17 12:46:42 +00:00
Daniel Stenberg
4515d06465
David Byron's fixes to make the latest curl build fine under MSVC 6.
2004-02-26 16:23:28 +00:00
Daniel Stenberg
053f6c85ef
updated year in the copyright string
2004-01-07 09:19:33 +00:00
Daniel Stenberg
c32390d84c
Reversed the logic to only include the <sys/select.h> header on systems
...
known to really NEED it as another system that doesn't have it came up:
very old Linux libc5-based systems (as addition to all HPUX versions).
The only known system at this point is AIX.
2003-06-05 14:04:44 +00:00
Daniel Stenberg
18234cbdac
sys/select.h is not present on HPUX, avoid including it
2003-05-27 12:34:48 +00:00
Daniel Stenberg
e97fd44151
language
2003-05-26 12:32:22 +00:00
Daniel Stenberg
35a84ad576
Chris Lewis mentioned that he doesn't get WIN32 defined, only _WIN32 so we
...
make an adjustment to catch this.
2003-05-26 07:57:53 +00:00
Daniel Stenberg
ca04620253
AIX wants sys/select.h
2003-05-09 07:37:27 +00:00
Daniel Stenberg
8c3a10392e
Include sys/types.h as well. Ray DeGennaro reports successful compiling on
...
AIX when this fix is applied and I cannot see how this will break any
systems.
2003-03-10 12:25:32 +00:00
Daniel Stenberg
de6008e01a
James Bursa corrected a bad comment
2003-02-04 18:12:41 +00:00
Daniel Stenberg
543e0b1e0f
oops, broken comment fixed
2003-01-22 18:50:51 +00:00
Daniel Stenberg
64b0ff875f
extern C this to work in C++ conditions
2003-01-22 18:30:58 +00:00
Daniel Stenberg
f26a338a54
copyright year update in the source header
2003-01-16 21:08:12 +00:00
Daniel Stenberg
ba4e69bebc
updated source code boilerplate/header
2002-09-03 11:52:59 +00:00
Daniel Stenberg
183f1531d3
include curl-includes "local" instead of <curl/foo>
2002-08-13 15:03:57 +00:00
Daniel Stenberg
fcb1d3521a
sys/socket.h without #ifdef
...
include sys/time.h as well
2002-07-31 23:18:27 +00:00
Daniel Stenberg
8d94688fd1
moved here from ../../lib/
2002-03-19 10:34:34 +00:00