summaryrefslogtreecommitdiffhomepage
path: root/src/sock.h
AgeCommit message (Collapse)Author
2001-12-15Changed safe_write() to fully send all the data in the buffer it wasRobert James Kaes
passed. Also safe_write() and safe_read() now use char pointer buffers rather than the void pointer style.
2001-11-22Replaced the readline() function with a new version which has noRobert James Kaes
restrictions on the length of a line (unless you fill memory of course.) Reformated the source.
2001-10-25Changed the included headers to be only the "tinyproxy.h" since itRobert James Kaes
contains all the code for properly bringing in the system headers (in the correct order and with proper dependancies.)
2001-09-16Moved the safe_write() and safe_read() functions here.Robert James Kaes
2001-06-02Fixed up the names of the DEFINES.Robert James Kaes
2001-05-27Removed the SA define.Robert James Kaes
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.)
2000-09-11Needed locking in getpeer_string().Robert James Kaes
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. :)
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young
which included commits to RCS files with non-trunk default branches.