aboutsummaryrefslogtreecommitdiff
path: root/src/IO/dpi.c
AgeCommit message (Collapse)Author
2024-08-07Avoid INADDR_LOOPBACK as it is an extensionRodrigo Arias Mallo
Instead use inet_addr("127.0.0.1") which is POSIX 2001 and also more clear. Reviewed-by: dogma
2024-08-07Use portable dUsleep() instead of usleep()Rodrigo Arias Mallo
Reviewed-by: dogma
2024-08-07Make Dillo C99 standard compliantRodrigo Arias Mallo
Reviewed-by: dogma
2024-03-09Use Doxygen comments for C filesRodrigo Arias Mallo
2016-04-30Fixed a minor bug for a corner case in dpi cookie handlingJorge Arellano Cid
2013-08-30dpi.c: Minor typos and normalizationsJorge Arellano Cid
2013-01-09Refactored FD close calls into a single new dClose() dlib function [p37sitdu]Jorge Arellano Cid
2013-01-01Don't leak a FD if write() fails on a just-connected local dpi socket.Jorge Arellano Cid
This also fixes the wrong error message given in this situation. http://lists.auriga.wearlab.de/pipermail/dillo-dev/2012-December/009656.html Patch: p37sitdu, jcid
2012-12-16Dpi_connect_socket: Removed obsolete code lingering from UDS (2009)Jorge Arellano Cid
Detected by: p37sitdu Recover code for Unix domain sockets is not necessary because we use INET sockets now. Ref, changeset: 7faa2c7a544f
2010-01-13use TCP_NODELAY for DPI communicationJohannes Hofmann
2010-01-07also try bindir when looking for dpidcorvid
2009-11-10Fixed a couple file descriptor leaks in dillo's DPI codeJorge Arellano Cid
2009-11-08staticcorvid
2009-11-06Compiler happiness for old versions of gccJorge Arellano Cid
2009-11-01Removed the write/fwrite mix in dpip. Introduced a_Dpip_dsh_trywrite()Jorge Arellano Cid
Several cleanups and more error handling sprinkled all over too.
2009-11-01Convert dpid, file dpi and cookies dpi to dsh APIJorge Arellano Cid
cookies: convert to dsh API (with auth) file dpi: convert to dsh API (with auth) dpid: convert to dsh API (with auth) handle EINTR in connect(), authenticated DpiBye cmd
2009-11-01s/retval/ret/gJorge Arellano Cid
2009-11-01Introduce basic shared-secret-based authenticationJorge Arellano Cid
2009-11-01Added Dpi_blocking_{read,write} API in IO/dpi.cJorge Arellano Cid
All the ad-hoc read/write calls are now made through this functions, with proper error handling.
2009-11-01Switch the DPI framework from Unix sockets to Internet socketsJorge Arellano Cid
Initially meant for MINIX, but in the process several bugs were fixed, the code restructured, added more error handling and improved in general. In the future we may go back to UDS, but the cleanup gains will remain.
2009-08-05Changed the CCCs to build in one step (for both HTTP and DPI)Jorge Arellano Cid
2009-07-17Added a_Dpip_get_attr_l() to DPIP's APIJorge Arellano Cid
2009-07-16Cast NULL sentinel to (char*) for execl (fix for LP64 arch).Jorge Arellano Cid
2009-06-22remove system includescorvid
2009-03-28check fgets() and write() resultsJohannes Hofmann
2008-11-05- Cleaned up and normalized D_SUN_LEN usage.jcid
2008-09-30- s/todo:/TODO:/gjcid
2008-09-28- Switched from DEBUG_MSG to MSG.jcid
2008-05-17- CCC: added reentrancy control to the OpEnd and OpAbort operations.jcid
- CCC: enhanced the debug function and implemented OpAbort for dpi.
2007-12-31Implemented the SELECT element in FORMS!jcid
2007-11-17Added the "static" qualifier where missing.jcid
2007-11-05Updated copyright linesjcid
2007-10-07Initial revisionjcid