summaryrefslogtreecommitdiff
path: root/common/tio.c
AgeCommit message (Expand)Author
2014-06-06Clear proper buffer lengthArthur de Jong
2014-05-17Clear buffers before free-ingArthur de Jong
2013-09-15Also support poll() returning EAGAINArthur de Jong
2013-09-02Use clock_gettime() instead of gettimeofday()Arthur de Jong
2013-08-31Use normal timeout handling in tio_skipall()Arthur de Jong
2013-08-31Refactor tio_wait()Arthur de Jong
2013-08-31Fix buffer overflow on interupted readArthur de Jong
2013-08-30Use a timeout when skipping remaining result dataArthur de Jong
2013-03-09fix the description of the tio_time_remaining() functionArthur de Jong
2013-01-18restructure timeout calculation in tio to reduce the number of times gettimeo...Arthur de Jong
2012-12-22update C coding style to a more commonly used styleArthur de Jong
2012-12-08update microseconds when setting deadline, not seconds (thanks Julien Cristau)Arthur de Jong
2012-12-06make test even more verbose and set number of writes back at 10000 to avoid i...Arthur de Jong
2012-10-12use poll() instead of select() for checking file descriptor activity to also ...Arthur de Jong
2012-10-12check if the file descriptor can be stored in the select() file descriptor setArthur de Jong
2012-04-26split the functionality to read everything from the stream into a separate fu...Arthur de Jong
2012-03-14read any remaining available data from the stream when closing the connection...Arthur de Jong
2012-03-14ensure that we don't try to read more than SSIZE_MAX bytesArthur de Jong
2011-03-31tv_usec in struct timeval must be lower than 1000000 (patch by SATOH Fumiyasu)Arthur de Jong
2011-03-14fix a problem in the timeout paramater that was being passed to select() and ...Arthur de Jong
2011-03-10update copyright headers to add missing yearsArthur de Jong
2010-12-26return connection reset when connection was closed by the other endArthur de Jong
2010-06-12remove commented out memberOf and ipNetmaskNumber attributes and small cleanupsArthur de Jong
2009-08-31rename software to nss-pam-ldapdArthur de Jong
2008-06-12restore the old writing code which masks SIGPIPE on platforms that can't use ...Arthur de Jong
2008-05-17use send() with a flag to ignore SIGPIPE instead of write() so we don't have ...Arthur de Jong
2008-05-16add sanity checks to sleep calls to never sleep too long (problems could occu...Arthur de Jong
2008-02-15split out the flushing of the buffers to separate functions and see if we can...Arthur de Jong
2008-02-12implement resizable I/O buffers and tune buffer sizes to normal requestsArthur de Jong
2008-02-12always allocate the read and write buffers and make the struct tio_buffer inl...Arthur de Jong
2008-01-27when including stdint.h check if we actually have itArthur de Jong
2008-01-01add limited implementation of tio_mark() and tio_reset() functions to do limi...Arthur de Jong
2007-10-27fix memory leak in I/O module not free()ing allocated storage for file info o...Arthur de Jong
2007-10-27portability improvement to fall back to ETIMEDOUT when ETIME is unavailableArthur de Jong
2007-10-19fix usage of DEBUG_TIO_STATSArthur de Jong
2007-09-24also initialize sa_sigaction although it's not usedArthur de Jong
2007-09-23some small improvements to the code based on some source code checksArthur de Jong
2007-07-15fix typoArthur de Jong
2007-07-15fix bug with buffer magic in writing codeArthur de Jong
2007-07-13add const and add FIXME about a to-be-fixed race conditionArthur de Jong
2007-06-08implement our own stdio-like library that handles IO with a simple configurab...Arthur de Jong