Yang Tse
|
fe5f448015
|
fix compiler warning: external definition with no prior declaration
|
2008-09-20 12:33:02 +00:00 |
|
Yang Tse
|
8733e087d7
|
fix print formatting string directives
|
2008-09-04 05:29:10 +00:00 |
|
Yang Tse
|
6c2c281a7e
|
fix log message used when unable to connect to destination port
|
2008-03-05 18:27:31 +00:00 |
|
Yang Tse
|
18cbb4d7d6
|
signal handling to properly cleanup on SIGINT and SIGTERM
|
2008-02-28 10:15:21 +00:00 |
|
Yang Tse
|
22e84d92b7
|
when terminating do it falling through cleanup code
|
2008-02-28 10:13:07 +00:00 |
|
Yang Tse
|
ed63d9d4de
|
header inclusion cleanup
|
2008-02-28 00:55:06 +00:00 |
|
Yang Tse
|
8adc7038fe
|
make comment more precise
|
2008-02-27 14:54:18 +00:00 |
|
Yang Tse
|
058e764af8
|
all reads from stdin and writes to stdout will be retried until the
whole operation completes or an unrecoverable condition is detected
|
2008-02-26 18:13:59 +00:00 |
|
Yang Tse
|
0d09f342c4
|
refactor some code out to write_pidfile() in util.c
|
2008-02-26 15:06:44 +00:00 |
|
Yang Tse
|
1d95109ffa
|
Revert sockfilt.c back to revision 1.42
Changes introduced in revision 1.43 were useless
|
2008-02-22 09:31:18 +00:00 |
|
Yang Tse
|
064eebeaf1
|
Avoid timeout restart when signal caught while awaiting socket and stdin events
|
2008-02-20 17:17:18 +00:00 |
|
Yang Tse
|
9df37b93df
|
juggle() actually returns bool.
Remove redundant and unreachable log message.
|
2008-02-19 18:51:08 +00:00 |
|
Yang Tse
|
c9eb41c056
|
Reduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt listener socket.
Log some more error descriptions.
|
2008-02-18 20:13:30 +00:00 |
|
Yang Tse
|
23547fa2a0
|
sockfilt will quit when orphaned
|
2008-02-17 04:36:08 +00:00 |
|
Yang Tse
|
fecb67b246
|
Use a long int data type to handle getpid() result
|
2008-02-06 16:54:01 +00:00 |
|
Yang Tse
|
660c86ce95
|
logmsg already appends '\n'
|
2007-10-09 23:21:29 +00:00 |
|
Dan Fandrich
|
16b95fc773
|
Enabled a few more gcc warnings with --enable-debug. Renamed a few
variables to avoid shadowing global declarations.
|
2007-09-27 01:45:22 +00:00 |
|
Dan Fandrich
|
9b11a84e74
|
Make the ftp server connect to the address given by curl in the PORT/EPRT
instead of hard-coding it to 127.0.0.1
|
2007-09-17 18:12:11 +00:00 |
|
Dan Fandrich
|
5d4c981e13
|
Fixed a few compiler warnings. Try to do a slightly better job of
cleaning up after an OOM condition in curl_multi_add_handle
|
2007-08-30 18:26:19 +00:00 |
|
Daniel Stenberg
|
c347db2e0a
|
added a size > buffer size check to make it easier to track this in the
future
|
2007-08-22 14:09:13 +00:00 |
|
Daniel Stenberg
|
232a4553b8
|
Upped the buffer size to 17000+ bytes to prepare for the upcoming test 1003
that verfies ridiculously long server response lines. Also changed sprintf
to snprintf in a few places.
|
2007-08-22 13:57:49 +00:00 |
|
Daniel Stenberg
|
a53ba060c8
|
start the retry delay at 10 ms, double it for every failed attempt which makes
it 10 seconds delay after 11 attempts
|
2007-07-12 17:03:45 +00:00 |
|
Gunter Knauf
|
72bb5854f7
|
the timeout was probably too short with max = 1 sec, so lets test with 5 sec.
|
2007-07-12 10:54:15 +00:00 |
|
Gunter Knauf
|
0878b14f79
|
added time loop to sockfilt.c in order to wait for SO_REUSEADDR;
added go_sleep() to util.c.
|
2007-07-12 01:07:49 +00:00 |
|
Yang Tse
|
31e598d2f3
|
add debug messages for initialization failures
|
2007-02-19 02:03:58 +00:00 |
|
Yang Tse
|
a1d5983991
|
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
|
2007-02-16 18:19:35 +00:00 |
|
Yang Tse
|
4894ce16fc
|
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
|
2007-02-16 16:01:19 +00:00 |
|
Yang Tse
|
772a985dc3
|
Update copyright year, since the file has been modified
|
2006-10-27 03:47:57 +00:00 |
|
Yang Tse
|
4ec9316155
|
Replace is*() macros with our own IS*() ones.
|
2006-10-23 19:14:54 +00:00 |
|
Yang Tse
|
5df4be1165
|
Check for USE_WINSOCK instead of WIN32 where the check was done
to verify winsock API availability.
|
2006-10-18 21:05:40 +00:00 |
|
Yang Tse
|
e150150d9f
|
Remove redundant __CYGWIN__ symbol check
|
2006-10-11 16:01:16 +00:00 |
|
Yang Tse
|
5a6c89661a
|
Cygwin preprocessor adjustments
|
2006-09-12 01:17:16 +00:00 |
|
Yang Tse
|
ab4256d53a
|
Abort if unable to write pid file, and close socket when aborting.
|
2006-07-19 15:28:30 +00:00 |
|
Yang Tse
|
2aa4710745
|
Minor cleanup
|
2006-07-17 03:38:13 +00:00 |
|
Yang Tse
|
ccfce89423
|
Null terminate string in buffer before feeding it to strtol()
|
2006-07-14 06:31:41 +00:00 |
|
Yang Tse
|
498aad8587
|
Change to meaningful var names and take care of a compiler warning on IRIX 6.5.22 MIPSPro C 7.3 64bit
|
2006-07-13 18:50:51 +00:00 |
|
Yang Tse
|
f0694c582e
|
Remove var not used.
|
2006-07-12 10:41:07 +00:00 |
|
Yang Tse
|
f90f0c98d9
|
Log a message if not all data is sent.
|
2006-07-12 09:39:35 +00:00 |
|
Yang Tse
|
86f4cead16
|
sread now returns ssize_t
|
2006-07-12 06:14:49 +00:00 |
|
Yang Tse
|
58176d1484
|
Use platform's native types for recv() and send() arguments.
|
2006-07-12 05:19:00 +00:00 |
|
Daniel Stenberg
|
50e9522a06
|
silense a warning
|
2005-05-25 22:12:57 +00:00 |
|
Daniel Stenberg
|
d55d3c2fd0
|
nicer raw logging and put code into (nicer) functions
|
2005-05-25 12:04:24 +00:00 |
|
Daniel Stenberg
|
84fd4686e2
|
Moved more generic functions to util.[ch]
Added resolve.c to simply resolve a given host name
|
2005-05-17 10:22:22 +00:00 |
|
Daniel Stenberg
|
315a9c95d5
|
prevent 64bit warnings
|
2005-05-10 11:21:57 +00:00 |
|
Daniel Stenberg
|
ef5eea689a
|
Added an active disconnected state, to make the code clearer.
|
2005-05-07 13:52:07 +00:00 |
|
Daniel Stenberg
|
fd191deb49
|
removed unnecessary logging to ease REAL debuggin
|
2005-05-07 08:55:37 +00:00 |
|
Daniel Stenberg
|
366b62af2d
|
always use the libcurl-provided *printf() functions
|
2005-05-01 12:56:09 +00:00 |
|
Daniel Stenberg
|
23da55a9f1
|
Moved common code to util.[ch] instead of having it duplicated in sws.c
and sockfilt.c. For good-to-have functions for the servers written in C.
|
2005-04-30 23:30:55 +00:00 |
|
Daniel Stenberg
|
e5472bbd21
|
AF_INET6 for ipv6 addresses!
|
2005-04-28 14:31:25 +00:00 |
|
Daniel Stenberg
|
8465a367a4
|
listen(..., 1) as 0 doesn't work on Tru64!
|
2005-04-27 12:28:04 +00:00 |
|