summaryrefslogtreecommitdiff
path: root/src/reqs.c (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2002-11-13(relay_connection): Shutdown the client socket for writing once allRobert James Kaes1-1/+2
2002-11-03Removed all the code supporting the TCP tunnelling feature ofRobert James Kaes1-81/+1
2002-10-17(relay_connection): Ivan pointed out a bug with the code to send anyRobert James Kaes1-2/+2
2002-06-06A bunch of changes from Petr Lampa that add transparent proxy support to tiny...Robert James Kaes1-27/+98
2002-05-31(process_server_headers): Since we're stripping off the carriage return and n...Robert James Kaes1-2/+2
2002-05-29(add_header_to_connection): Removed the "double_cgi" boolean, since tinyproxy...Robert James Kaes1-12/+5
2002-05-28(add_header_to_connection): Added a boolean to indicate that a "Double CGI" s...Robert James Kaes1-6/+22
2002-05-28(get_all_headers): Added code to ignore a "response" line in a header. This ...Robert James Kaes1-2/+31
2002-05-27(process_request): Changed the filtering code around to handle both domains a...Robert James Kaes1-10/+21
2002-05-26Spelling changes (from thread to child.)Robert James Kaes1-2/+2
2002-05-24Fixed a tonne of spelling mistakes.Robert James Kaes1-5/+5
2002-05-23Fixed up a spelling mistake and changed various bits of code to takeRobert James Kaes1-9/+10
2002-05-17request->host might have been freed by the time we get toRobert James Kaes1-7/+3
2002-05-14Moved the definition of the struct buffer_s into the buffer.c file and outRobert James Kaes1-7/+7
2002-05-08Removed the request logging in the tunnel because it breaks the tunnelRobert James Kaes1-1/+16
2002-04-28Added more error checking in process_client_headers() andRobert James Kaes1-34/+68
2002-04-26Changed the len type to ssize_t because we need to detect errors in theRobert James Kaes1-2/+2
2002-04-26Need to check the return value of hashmap_first() since it could beRobert James Kaes1-24/+26
2002-04-25Check to see if request->path is actually allocated before trying to freeRobert James Kaes1-2/+8
2002-04-25First change all the hashmap related calls to use the new API.Robert James Kaes1-47/+57
2002-04-24Fixed a couple of problems where tinyproxy was trying to free a memoryRobert James Kaes1-4/+7
2002-04-22Added the "Proxy-Connection" header to the list of client headers whichRobert James Kaes1-1/+2
2002-04-18The stats now wait until after the client has finished sending all itsRobert James Kaes1-7/+11
2002-04-18Fixed a memory leak in reading in headers from the client or server.Robert James Kaes1-4/+12
2002-04-17If the initialize_conn() function fails, close the socket and return.Robert James Kaes1-3/+5
2002-04-16Various code clean up. There is nothing new here, just mechanical changesRobert James Kaes1-67/+43
2002-04-15Changed the variable type in read_request_line() to an unsigned variableRobert James Kaes1-2/+2
2002-04-15Changed the error boolean flag into a pointer to an error string and anRobert James Kaes1-16/+17
2002-04-12Added code to support the new ConnectPort directive which is needed toRobert James Kaes1-1/+72
2002-04-12Added a write_via_header() function which is now used in both headerRobert James Kaes1-40/+67
2002-04-11Did a bit of consolidation by moving code into remove_connection_headers()Robert James Kaes1-37/+106
2002-04-09Removed the compare_header() function since it's been replaced by a callRobert James Kaes1-15/+7
2002-04-07A _tonne_ of changes. It would almost be easier to just read the sourceRobert James Kaes1-163/+228
2001-12-24Moved write_message() into sock.c because I'm using it in other places.Robert James Kaes1-53/+1
2001-12-23Cleaned up the code which sends the "Via" header. It now usesRobert James Kaes1-29/+24
2001-12-20Created the CHECK_CRLF() macro to handle the tests for the appropriateRobert James Kaes1-6/+8
2001-12-19Removed duplicate code from process_server_headers() and removed the callsRobert James Kaes1-12/+9
2001-12-19Damn---removed the debugging code from write_message().Robert James Kaes1-3/+1
2001-12-19Opps! Fixed a problem with negative numbers. :)Robert James Kaes1-3/+5
2001-12-19Redefined HTTP_LINE_LENGTH to be based on MAXBUFFSIZE (and set to aroundRobert James Kaes1-80/+118
2001-12-18Updated the list of headers to ignore.Robert James Kaes1-3/+6
2001-12-17Added the code to log the request when in tunnelling mode.Robert James Kaes1-2/+22
2001-12-17Added UPSTREAM_CONFIGURED() macro to help clean up the code.Robert James Kaes1-89/+100
2001-11-23Removed the trim() function and move it into chomp()/utils.cRobert James Kaes1-44/+16
2001-11-22Reformated text.Robert James Kaes1-91/+163
2001-11-22Replaced the calls to the old readline() function with calls to the newRobert James Kaes1-22/+18
2001-11-21#if 0'd the code handling the "Via" header in the process_client_headers()Robert James Kaes1-3/+25
2001-11-21Extract the version from the request line and store it in the conn_sRobert James Kaes1-9/+44
2001-11-05Replaced all calls to buffer_size() with the macro BUFFER_SIZE().Robert James Kaes1-7/+7
2001-11-02Informing the user of the connection to the tunnel is a INFO type message,Robert James Kaes1-2/+2