Robert James Kaes
a117ed9cb0
Included patches from Steven Young to use the hashmap functionality to
...
manage the HTML error pages. It simplifies the source, and also make
the object file smaller. Nice. Also added any casting from (void*)
to ensure that the code compiles using a C++ compiler.
2003-08-01 00:14:34 +00:00
Robert James Kaes
ac88af1f71
Fixed a bug that would kill a child process because of an invalid
...
safefree() call. Basically, destroy_conn() was trying to free memory
not allocated by malloc. [Fix by David T. Pierson]
2003-05-04 04:35:10 +00:00
Robert James Kaes
6ff4192069
Removed the remote_content_length field in the "conn" structure and
...
replaced it with a smaller structure containing both the remote/server
and the local/client content-length fields if they're present in the
HTTP response headers.
2003-04-16 16:37:59 +00:00
Robert James Kaes
056bbf84bd
# Added variables to keep track of the variables to be substituted in
...
.html files displayed to the client [Steven Young]
2003-03-13 21:27:29 +00:00
Robert James Kaes
0a20bdd5b4
Removed the "bool_t" type since it conflicts with the newer C standards.
...
The type was just replaced by "unsigned int" types.
2002-12-04 17:06:14 +00:00
Robert James Kaes
09b1b9b925
Added the peer's socket information to the connection structure. The
...
information is passed along during the initialization of the structure.
2002-05-23 18:23:29 +00:00
Robert James Kaes
60f0a86c75
The stats now wait until after the client has finished sending all its
...
headers before sending the HTTP response back. This should be more
standards compliant.
2002-04-18 21:43:53 +00:00
Robert James Kaes
a5d3212751
Changed the error boolean flag into a pointer to an error string and an
...
error code. We're storing this information because tinyproxy doesn't
output the error information until _after_ the client has sent it's
information.
2002-04-15 02:07:27 +00:00
Robert James Kaes
ce06f27a35
Added the remote_content_length variable to store the number of bytes the
...
remote server is supposed to be transmiting to the client.
2002-04-11 20:27:51 +00:00
Robert James Kaes
97a72783f5
Cleaned up some of the code to handle errors better. Also, a little bit
...
easier to read in the variable department.
2002-04-07 21:32:01 +00:00
Robert James Kaes
5e17d0736e
Removed some of the members of the structures and renamed a few others.
2001-11-25 22:06:20 +00:00
Robert James Kaes
bc8c3ff399
Include the protocol variables in the conn_s structure.
2001-11-21 01:00:09 +00:00
Robert James Kaes
f8ad0dced3
Moved the connection creation/destruction and definition into it's own
...
files.
2001-10-25 16:58:09 +00:00
Robert James Kaes
2d9d164034
These files are no longer used within tinyproxy.
2000-09-11 23:24:59 +00:00
Steven Young
37e63909c0
This commit was generated by cvs2svn to compensate for changes in r2,
...
which included commits to RCS files with non-trunk default branches.
2000-02-16 17:32:49 +00:00