Age | Commit message (Collapse) | Author | Files | Lines |
|
This allows tinyproxy to respond to a request bound to the same
interface that the request came in on. As Oswald explains:
"attached is a patch that adds the BindSame option. it causes
binding an outgoing connection to the ip address of the respective
incoming connection. that way one can simulate an entire proxy farm
with a single instance of tinyproxy on a multi-homed machine."
Cool.
|
|
addresses.
|
|
|
|
Also moved safe_write(), safe_read(), readline(), and write_message()
functions into their own file.
|
|
|
|
passed. Also safe_write() and safe_read() now use char pointer buffers
rather than the void pointer style.
|
|
restrictions on the length of a line (unless you fill memory of course.)
Reformated the source.
|
|
contains all the code for properly bringing in the system headers (in the
correct order and with proper dependancies.)
|
|
|
|
|
|
Made the sock_mutex static since it's not referenced outside the file.
Changed the data types for some of the variables.
Cleaned up the readline function (changed data types and removed
variables.)
|
|
Added mutex locking around the dnscache() call.
Removed the global sockaddr and setup_fd variables.
Added the socket_blocking() and socket_nonblocking() functions.
Gutted the readling() function and replaced it with something similar to
the 1.0 version. :)
|
|
which included commits to RCS files with non-trunk default branches.
|