aboutsummaryrefslogtreecommitdiffstats
path: root/socket.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert SO_???TIMEO-based STARTTLS timeout handling.Matthias Andree2011-05-261-3/+0
| | | | | | | | | This reverts commits 47c05b10018f5ec7493e4bd9f521aaa18d96f1e2 and 72ce8bce8dd655b6aefa33d0a74e883dad5202b5, the code isn't portable, for instance, Solaris does not support SO_RCVTIMEO/SO_SNDTIMEO. These socket-level options are known, but Solaris returns EAFNOSUPPORT. Reported by Jonathan Buschmann.
* Add a SockTimeout(int socket, int seconds) function.Matthias Andree2011-04-291-0/+3
| | | | Uses setsockopt(..., SOL_SOCKET, SO_{SND|RCV}TIMEO, ...).
* Remove unused code.Matthias Andree2011-04-291-6/+0
|
* Enable Doxygen extraction.Matthias Andree2010-05-111-11/+11
|
* Add --sslcertfile option and FETCHMAIL_NO_DEFAULT_X509_PATHS env var,Matthias Andree2010-04-181-1/+1
| | | | and always load the default X.509 trust stores, unless the latter is set.
* Fix lots of warnings, most around string literals...Matthias Andree2010-03-181-2/+2
| | | | | | | ...that were converted to char* when they should have been converted to const char *. Use braces for empty if/else statements.
* Only add format-printf attribute on GCC >= 2.Matthias Andree2010-02-041-0/+5
| | | | svn path=/branches/BRANCH_6-3/; revision=5476
* Add GCC attributes for printf format checking to SockPrintf (Sunil Shetye).Matthias Andree2010-02-041-1/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=5475
* Add IMAP AUTH=EXTERNAL support. BerliOS Patch #1095.Matthias Andree2006-08-141-1/+1
| | | | | | | Courtesy of Götz 'nimrill' Babin-Ebell. This patch also makes --sslproto arguments case insensitive. svn path=/branches/BRANCH_6-3/; revision=4896
* fix compilation on systems that don't know struct addrinfo (Solaris 2.6).Matthias Andree2006-08-131-0/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=4891
* Freeaddrinfo() fix for Uli Zappe's bug.Matthias Andree2006-08-071-1/+9
| | | | | | This might fix Debian Bug#294547 and Bug#377135. svn path=/branches/BRANCH_6-3/; revision=4880
* Remove port/service dualism and make everything a service.Matthias Andree2005-08-021-8/+2
| | | | svn path=/trunk/; revision=4219
* INCOMPATIBLE: DROP --netsec/-T option, NET_SECURITY macro - the required ↵Matthias Andree2005-07-301-2/+2
| | | | | | library is no longer available. svn path=/trunk/; revision=4192
* Compiler warnings fixes, preprocessor and minor general cleanup.Matthias Andree2004-06-181-2/+2
| | | | svn path=/trunk/; revision=3901
* strncat/snprintf cleanup.Eric S. Raymond2001-06-231-0/+5
| | | | svn path=/trunk/; revision=3366
* SSL certification handling.Eric S. Raymond2001-05-141-1/+2
| | | | svn path=/trunk/; revision=3314
* Fix a compilation goof.Eric S. Raymond2001-03-041-1/+1
| | | | svn path=/trunk/; revision=3189
* Better OpenSSL support.Eric S. Raymond2000-07-021-0/+4
| | | | svn path=/trunk/; revision=2924
* Ready to send this to Mike.Eric S. Raymond1999-11-061-3/+3
| | | | svn path=/trunk/; revision=2649
* Anticipate the IDLE extension.Eric S. Raymond1999-10-021-0/+7
| | | | svn path=/trunk/; revision=2630
* Comment fix.Eric S. Raymond1999-06-081-1/+1
| | | | svn path=/trunk/; revision=2484
* Added plugin/plugout option.Eric S. Raymond1998-11-021-2/+4
| | | | svn path=/trunk/; revision=2168
* Jonathan T. Agnew's massive code cleanup.Eric S. Raymond1998-10-261-1/+1
| | | | svn path=/trunk/; revision=2137
* SockClose() abstraction.Eric S. Raymond1998-07-251-0/+6
| | | | svn path=/trunk/; revision=2021
* Add option arg to IPv4 code.Eric S. Raymond1998-02-201-1/+1
| | | | svn path=/trunk/; revision=1662
* This went to Craig Metz.Eric S. Raymond1998-02-181-1/+1
| | | | svn path=/trunk/; revision=1652
* Alll of Craig Metz's changes for IPv6 and IPSEC except the POP3 stuff.Eric S. Raymond1998-02-161-0/+4
| | | | svn path=/trunk/; revision=1630
* Ready to ship.Eric S. Raymond1997-10-231-1/+1
| | | | svn path=/trunk/; revision=1527
* Change type of socket descriptors from FILE * to int. Change SockGetsEric S. Raymond1997-05-131-5/+5
| | | | | | | to SockRead a la read(2). This is all part of an attempt to deal with embedded NULs in IMAP messages. svn path=/trunk/; revision=992
* One step towards proper continuation handling.Eric S. Raymond1997-01-161-0/+5
| | | | svn path=/trunk/; revision=774
* Drop back to using SockGets/SockWrite.Eric S. Raymond1996-12-241-1/+25
| | | | svn path=/trunk/; revision=683
* SockGets is gone.Eric S. Raymond1996-12-171-13/+2
| | | | svn path=/trunk/; revision=650
* Eliminate SockWrite and SockPrintf.Eric S. Raymond1996-12-171-9/+0
| | | | svn path=/trunk/; revision=649
* This isn't Carl's design anymore.Eric S. Raymond1996-12-161-2/+0
| | | | svn path=/trunk/; revision=633
* Yes! True stdio buffering at last!.Eric S. Raymond1996-12-161-13/+5
| | | | svn path=/trunk/; revision=632
* Prototypes everywhere.Eric S. Raymond1996-11-081-3/+0
| | | | svn path=/trunk/; revision=515
* Back out the attempt to use stdio.Eric S. Raymond1996-11-061-30/+5
| | | | svn path=/trunk/; revision=488
* Initial revisionEric S. Raymond1996-11-061-0/+71
svn path=/trunk/; revision=487