Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2002-04-09 | Removed the compare_header() function since it's been replaced by a call | Robert James Kaes | 1 | -15/+7 | |
the anonymous_search(). Added a few more log_message() calls to better explain error conditions. Fixed up a problem with X-Tinyproxy sending logic. | |||||
2002-04-07 | A _tonne_ of changes. It would almost be easier to just read the source | Robert James Kaes | 1 | -163/+228 | |
itself to find out all the changes. Changed the process_client_header() function to use the hashmap and vector modules. I've made this change to better handle the Connection header. The Connection header, it it's present, lists all the headers which should _not_ be transmitted any further along. An HTTP/1.1 proxy must respect this. Other changes are basically cosmetic. | |||||
2001-12-24 | Moved write_message() into sock.c because I'm using it in other places. | Robert James Kaes | 1 | -53/+1 | |
2001-12-23 | Cleaned up the code which sends the "Via" header. It now uses | Robert James Kaes | 1 | -29/+24 | |
write_message(). | |||||
2001-12-20 | Created the CHECK_CRLF() macro to handle the tests for the appropriate | Robert James Kaes | 1 | -6/+8 | |
control characters in a string. | |||||
2001-12-19 | Removed duplicate code from process_server_headers() and removed the calls | Robert James Kaes | 1 | -12/+9 | |
to strlen(); readline() already returns the length of the string, so use that instead. | |||||
2001-12-19 | Damn---removed the debugging code from write_message(). | Robert James Kaes | 1 | -3/+1 | |
2001-12-19 | Opps! Fixed a problem with negative numbers. :) | Robert James Kaes | 1 | -3/+5 | |
2001-12-19 | Redefined HTTP_LINE_LENGTH to be based on MAXBUFFSIZE (and set to around | Robert James Kaes | 1 | -80/+118 | |
16 KB.) Added the TUNNEL_CONFIGURED() macro to help with testing for the tunnel support code. Create the write_message() function to encapsulate the code which sends the information to the file descriptor. Moved the tunnel code into it's own function. | |||||
2001-12-18 | Updated the list of headers to ignore. | Robert James Kaes | 1 | -3/+6 | |
2001-12-17 | Added the code to log the request when in tunnelling mode. | Robert James Kaes | 1 | -2/+22 | |
2001-12-17 | Added UPSTREAM_CONFIGURED() macro to help clean up the code. | Robert James Kaes | 1 | -89/+100 | |
Ignore any blank lines when tinyproxy is expecting a request line. Instead of sending the request line to the remote server in pieces, tinyproxy nows sends it in once go. This was done to fix a problem with some sites like www.heise.de. Changed all calls to connptr->ssl to connptr->connect_method. Changed all calls to connptr->send_message to connptr->send_response_message. Moved the call to Via header code to inside to the tests to handle if tinyproxy is sending an error message (don't need to send any headers.) | |||||
2001-11-23 | Removed the trim() function and move it into chomp()/utils.c | Robert James Kaes | 1 | -44/+16 | |
2001-11-22 | Reformated text. | Robert James Kaes | 1 | -91/+163 | |
2001-11-22 | Replaced the calls to the old readline() function with calls to the new | Robert James Kaes | 1 | -22/+18 | |
version. | |||||
2001-11-21 | #if 0'd the code handling the "Via" header in the process_client_headers() | Robert James Kaes | 1 | -3/+25 | |
function since I'm not completely happy with the code. | |||||
2001-11-21 | Extract the version from the request line and store it in the conn_s | Robert James Kaes | 1 | -9/+44 | |
structure. Don't send a Connection header to the remote connection. Handle the Via header correctly. | |||||
2001-11-05 | Replaced all calls to buffer_size() with the macro BUFFER_SIZE(). | Robert James Kaes | 1 | -7/+7 | |
2001-11-02 | Informing the user of the connection to the tunnel is a INFO type message, | Robert James Kaes | 1 | -2/+2 | |
not a CONN level message. | |||||
2001-10-25 | Some code clean up due to the creation of the conns.{c,h} files which now | Robert James Kaes | 1 | -33/+2 | |
store the creation/destruction and definition of the connection structure. | |||||
2001-10-25 | Fixed the problems with sending/not sending headers so that the CONNECT | Robert James Kaes | 1 | -15/+9 | |
(SSL) method would work with upstream proxying! | |||||
2001-10-25 | Changed the way relay_connection() works by having the both buffers | Robert James Kaes | 1 | -22/+42 | |
emptied when either socket is closed. This should be better for the tunnel connections. Change the connect_to_upstream() function to better utilize the establish_http_connection() function. Code re-use is cool. :) | |||||
2001-10-24 | Error message cleanup to make the information more informative. | Robert James Kaes | 1 | -11/+11 | |
2001-10-22 | Cleaned up the code in handle_connection() and added a NULL pointer test | Robert James Kaes | 1 | -18/+21 | |
in the free request function. | |||||
2001-10-19 | More moving around of the source code. Still can't get CONNECT to work | Robert James Kaes | 1 | -53/+61 | |
with an upstream proxy. | |||||
2001-10-17 | Trying to allow CONNECT methods through an Upstream proxy. | Robert James Kaes | 1 | -18/+33 | |
2001-09-16 | Moved the safe_read() and safe_write() functions into the sock.c file | Robert James Kaes | 1 | -144/+136 | |
since they're now used in other places. Added support for a true upstream proxy connection. This involved some rewriting of the handle_connection() function and some of the support functions so that they do perform the domain filtering and anonymous filtering while still connecting to the upstream proxy. I think the code should be cleaned up further. | |||||
2001-09-15 | Removed the log messages related to memory allocation. | Robert James Kaes | 1 | -20/+48 | |
Move the SSL response header into into own function. Added support for the status host. | |||||
2001-09-14 | Finally got the SSL problem fixed. We can not send _any_ client headers | Robert James Kaes | 1 | -4/+10 | |
(including the new line) to the origin server when in tunnelling mode. SSL now works correctly. Yeah. | |||||
2001-09-14 | Changed the buffer pointer in safe_write() to be const void* since we're | Robert James Kaes | 1 | -33/+20 | |
not changing the values. Instead of building a new request and memory, simply send each part separately. Actually uses less memory _and_ less code. | |||||
2001-09-14 | Massive changes. Split process_method() into a bunch of smaller files and | Robert James Kaes | 1 | -192/+299 | |
changed the parsing code from REGEX and uri.c to a simplier sscanf() method. Also, include code to handle SSL connections, but that's not quite working yet. | |||||
2001-09-12 | Fixed memory leak. | Robert James Kaes | 1 | -2/+2 | |
2001-09-11 | Switched the memory allocation for the large strings to heap based instead | Robert James Kaes | 1 | -6/+42 | |
of stack based. | |||||
2001-09-08 | Changed all the mallocs and callocs to use the new safemalloc and | Robert James Kaes | 1 | -6/+6 | |
safecalloc. | |||||
2001-09-07 | Error message cleanup. | Robert James Kaes | 1 | -19/+26 | |
2001-09-04 | Moved the compare_header() test after the skip header test. | Robert James Kaes | 1 | -4/+4 | |
2001-08-30 | Replaced the call to xstrstr() with strstr(). | Robert James Kaes | 1 | -2/+2 | |
2001-08-28 | Moved the strip new line/carriage return from the end of a line into a | Robert James Kaes | 1 | -6/+26 | |
separate function. | |||||
2001-08-27 | Fixed a SEGV problem with invalid requests. | Robert James Kaes | 1 | -8/+10 | |
2001-08-26 | Fixed a problem with the Anonymous filtering. Basically, anonymous | Robert James Kaes | 1 | -16/+22 | |
filtering was not working in the previous version. | |||||
2001-05-30 | Formating changes. Also, explictly close the client_fd when the | Robert James Kaes | 1 | -9/+10 | |
connections are destroyed. | |||||
2001-05-27 | Changed some of the types to Posix data types. | Robert James Kaes | 1 | -60/+44 | |
Changed any reference to log() to log_message(). Fixed a potential memory leak in process_method(). Removed redundant code and variables in relay_connection(). | |||||
2001-05-23 | Just a formatting change. | Robert James Kaes | 1 | -2/+3 | |
2001-01-15 | Fixed more potential overflow bugs. | Robert James Kaes | 1 | -3/+4 | |
2000-11-23 | Changed the filter_host command to filter_url. | Robert James Kaes | 1 | -2/+2 | |
2000-09-26 | Updated the free() calls to the safefree() calls. | Robert James Kaes | 1 | -3/+3 | |
2000-09-12 | MAJOR RE-WRITE! Read the ChangeLog and look at the source. It's shorter | Robert James Kaes | 1 | -626/+445 | |
than redocumenting the changes here. :) | |||||
2000-03-31 | Fixed a bug with the path in clientreq. If the path was empty it caused a | Robert James Kaes | 1 | -5/+9 | |
malformed request to be sent. | |||||
2000-03-31 | Updated the anonheader function to use the new anonymous API. Removed the | Robert James Kaes | 1 | -28/+18 | |
hack for the POST method in clientreq. | |||||
2000-03-29 | Fixed a bug with the clientreq function which was incorrectly setting the | Robert James Kaes | 1 | -2/+4 | |
clientheader flag and causing _all_ headers to be sent even in anonymous mode. |