http.c


Log

Author Commit Date CI Message
Niels Provos 36950cef 2007-02-13T06:25:16 close connections for http/1.0 unless there is keep-alive svn:r326
Niels Provos 19373b3d 2007-02-13T06:14:42 when parsing query parameters, we automatically unquote them svn:r325
Niels Provos 9a65d013 2007-02-11T07:58:39 set content length even if content-type is specified svn:r324
Niels Provos bfb9f44f 2007-02-09T07:49:55 make mingw happy; from Nick Mathewson svn:r322
Niels Provos 22e53c7a 2007-01-27T04:10:08 make it work on freebsd; from phil oleson svn:r314
Niels Provos d5d04949 2007-01-18T06:28:42 fix http server so it can accept on high ports; better warning messages for getnameinfo; from Philip Lewis svn:r310
Niels Provos ff122207 2007-01-10T02:42:29 make accept socket non-blocking; from dug song svn:r309
Niels Provos ba8289be 2007-01-04T18:05:17 from dug song: the original code failed in the case of a large single client request+body write - for instance, over loopback (with a larger MTU exceeding EVBUFFER_MAX_READ). svn:r307
Niels Provos 0db257b8 2007-01-03T07:11:17 rename strlcpy so that it does not conflict with other tests; from Nick Mathewson. svn:r306
Niels Provos 894b6365 2006-12-23T07:30:10 fix a bug in an assert; from Weston Andros Adamson svn:r305
Niels Provos 557e0f62 2006-12-18T15:26:19 http chunking support from dug song; some refactoring and extra error checking by me svn:r304
Niels Provos a91d2b2b 2006-12-12T03:51:30 do close-detection via a separate event svn:r301
Niels Provos 04bdb248 2006-12-09T05:14:37 detect if a client to a streaming reply hangs up; from dug song comments from me :-) svn:r300
Niels Provos de7db33a 2006-12-09T02:58:12 low-level interfaces for streaming; from dug song i applied some bug fixes and slight re-arranged the logic on when to call the close notification callback; i also don't like the streaming interface; i'd rather see it do the chunked response formatting explicitly. svn:r298
Niels Provos 852d05a3 2006-12-09T01:41:57 support retrying for connections; from dug song small tweaks from me. svn:r297
Niels Provos 2225eec2 2006-12-09T01:33:03 decode uri when sending a request; from dug song svn:r296
Niels Provos 78592370 2006-12-06T04:12:11 fix a bug where event_set was called on a pending event; don't read body for return codes that do not require a body; from dug song. svn:r294
Niels Provos c6e285d3 2006-12-06T03:38:41 allow gotsig to terminate active event loop; free http connection on failed incoming connections; bugs pointed out by Dug Song. svn:r293
Niels Provos ec067919 2006-12-02T21:28:39 fix cases where there is no content or transfer encoding was specified from Dug Song svn:r291
Niels Provos 942656bb 2006-11-23T06:32:20 persistent connections are somewhat complicated; detect on the client side if the server closes a persistent connection. previously, we would have failed the next request on that connection. provide test case. svn:r277
Niels Provos 2d028ef6 2006-11-22T06:54:28 fix a bug where rpc would not be scheduled when they were queued; test for it. allow a configurable timeout for connections and RPCs. svn:r274
Niels Provos ce436242 2006-11-22T05:03:02 an attempt at differentiated error handling for timeouts and eof. really this needs to be propagated all the way to the callback. svn:r273
Niels Provos 868f10e7 2006-11-22T01:21:10 mingw fixes from Nick svn:r271
Niels Provos 31ba30ab 2006-11-18T08:51:12 make regression test work for poll and select svn:r265
Niels Provos 1a64c982 2006-11-18T07:30:21 some compilers don't like C99 inline variable declaration svn:r264
Niels Provos 36212f9d 2006-11-18T03:05:26 make persistent connections work; needs more testing svn:r261
Niels Provos d2c27da1 2006-11-18T02:10:25 introduce is connection close svn:r260
Niels Provos a67d9cb1 2006-11-17T07:45:42 add "Connection: close" to the output headers of the HTTP server reply; we don't currently support persistent connections; although that's going to be easy to add. svn:r259
Niels Provos c4836d10 2006-11-17T06:06:17 make sure that the rpc callback receives an unmarshaled payload; make sure that the rpc reply contains a good rpc structure, too. svn:r258
Niels Provos 1caff9bc 2006-11-16T15:59:42 we indicate a failed request by removing the uri from the request object svn:r257
Niels Provos 44bd5ab4 2006-11-16T08:49:26 prefix was missing /; malformed request caused server to crash svn:r256
Niels Provos f554234f 2006-11-16T07:36:20 first stab at an rpc layer; this breaks the regression test. svn:r254
Niels Provos 768aa15c 2006-11-12T00:59:56 don't need to include getopt here svn:r253
Niels Provos 94af961f 2006-07-18T06:35:48 get rid of err.h svn:r218
Niels Provos ba7262eb 2006-07-17T00:33:57 reorganization of the http functionality; we separate http handling into a connection object and a request object; also make it clear which buffers are used for input and output; unittests not complete yet. svn:r217
Niels Provos 6813af3f 2006-06-10T22:37:21 move http related prototypes to evhttp.h svn:r214
Niels Provos 147b71e3 2006-06-10T22:28:21 rename http.h to http-internal.h - i wish there were decent refactoring tools for open source programmers. svn:r213
Niels Provos a32839c8 2006-03-28T04:17:51 some nit-picking from poul-henning kamp svn:r208
Niels Provos 38b33048 2006-02-27T02:27:37 make a simple test for HTTP POST requests svn:r205
Niels Provos 896bf3a2 2006-02-13T02:22:48 many changes for fixing a small bug: post requests would not send the post data. I took the opportunity to reorganize a bit. svn:r201
Niels Provos 6717cf31 2006-02-03T19:24:28 fix a compile problem when USE_DEBUG is enabled svn:r198
Niels Provos a3bb4a03 2006-01-22T05:08:50 I often need some very simple HTTP functionality, so this is a first stab at integrating something really simple with HTTP. The interface is still evolving as I start messing with it. Not all the interfaces are properly exported yet. I am also trying to figure out how to intelligently hide the details about the different structures from users, so that that things can be changed around later. svn:r196