summaryrefslogtreecommitdiffhomepage
path: root/src/sock.c
AgeCommit message (Expand)Author
2002-05-31(getpeer_information): Fixed a problem retrieving the FQDN of a host because ...Robert James Kaes
2002-05-27(opensock): Changed a comment around to better state what the code is actuall...Robert James Kaes
2002-05-26Removed the DNS API calls and replaced them with the standardRobert James Kaes
2002-05-24Fixed some spelling mistakes, and removed the getpeer_ip() andRobert James Kaes
2002-05-23Changed the lookup_domain() function to use the new "dnsserver" API.Robert James Kaes
2002-04-24bind_address has been moved inside the config structure. Fixed up aRobert James Kaes
2002-04-22The "Bind" directive sets a binding address which the outgoing connectionsRobert James Kaes
2002-04-18Whoops. The previous include only had the code conditionally removed.Robert James Kaes
2002-04-18Removed the call to inet_aton() since the gethostbyname() function handlesRobert James Kaes
2002-04-18Removed the call to hstrerror() in the getpeer_string() function. It'sRobert James Kaes
2002-04-17Removed the LOOKUP_LOCK() and LOOKUP_UNLOCK() macros since I believe IRobert James Kaes
2002-04-16Tightened the lookup_domain() function.Robert James Kaes
2002-04-15Added a test to make sure the "whole_buffer" could be allocated.Robert James Kaes
2002-04-13Added additional error handling for the bind() and listen() system callsRobert James Kaes
2002-04-13Modified the opensock() function to respect the Listen directive. If it'sRobert James Kaes
2001-12-24Added the write_message() function (from reqs.c)Robert James Kaes
2001-12-19Changed the calls to write() to send() so that we can use send(...,Robert James Kaes
2001-12-17Added the assert() calls to safe_write() to make sure the arguments areRobert James Kaes
2001-12-15Changed safe_write() to fully send all the data in the buffer it wasRobert James Kaes
2001-12-15Added the host name lookup code (which use to be in the DNS cachingRobert James Kaes
2001-11-25Add support to limit the maximum size of the input line (to 128KB whichRobert James Kaes
2001-11-23Style changes. Also replaces all mallocs with safemalloc, etc.Robert James Kaes
2001-11-22Replaced the readline() function with a new version which has noRobert James Kaes
2001-11-12Changed the read() call into a recv() call with a flag of NOSIGNAL since IRobert James Kaes
2001-10-25Bit of source code clean up.Robert James Kaes
2001-10-24Error message cleanup to make the information more informative.Robert James Kaes
2001-10-23Fixed a spelling problem in a log message.Robert James Kaes
2001-10-23Moved the zero-length string setting to outside the tests in getpeer_*()Robert James Kaes
2001-10-22Changed the getpeer_*() functions to return the reason why the name or IPRobert James Kaes
2001-10-22Fixed a problem where a user's variable would be uninitialized if a DNSRobert James Kaes
2001-09-16Moved the safe_write() and safe_read() functions here.Robert James Kaes
2001-09-07Error message cleanup.Robert James Kaes
2001-08-29Cleaned up the locking code to make it more fine grained. Did this sinceRobert James Kaes
2001-05-27Removed the SA define.Robert James Kaes
2001-05-23Added ASSERT statements.Robert James Kaes
2000-09-11Needed locking in getpeer_string().Robert James Kaes
2000-03-31Completely rewrote the readline function.Robert James Kaes
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young