aboutsummaryrefslogtreecommitdiff
path: root/libsylph/socket.c
AgeCommit message (Collapse)Author
2010-05-21libsylph/socket.c: sock_kill_process(): prevent redundant error messages ↵hiro
when waitpid() is interrupted by EINTR. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2541 ee746299-78ed-0310-b773-934348b2243d
2009-11-26sock_connect_with_timeout(): check socket with getsockopt() even if select() ↵hiro
succeed. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2355 ee746299-78ed-0310-b773-934348b2243d
2009-11-05fix for connection failure.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2332 ee746299-78ed-0310-b773-934348b2243d
2009-11-04sock_connect_with_timeout(): use non-blocking socket and select() for ↵hiro
connection timeout. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2331 ee746299-78ed-0310-b773-934348b2243d
2009-10-28sock_connect_async_thread(): fixed a crash when connection failed.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2310 ee746299-78ed-0310-b773-934348b2243d
2009-10-13use g_atomic_int_{get,set} for thread terminate flags.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2282 ee746299-78ed-0310-b773-934348b2243d
2009-10-05removed some debug prints. uncommented code block for unix.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2272 ee746299-78ed-0310-b773-934348b2243d
2009-09-30execute imap_cmd_ok() in another thread.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2262 ee746299-78ed-0310-b773-934348b2243d
2009-09-30imap.c: connect in another thread.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2261 ee746299-78ed-0310-b773-934348b2243d
2009-09-29made GDK locks reentrant, and made LogWindow thread-safe.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2259 ee746299-78ed-0310-b773-934348b2243d
2009-09-25fixed the handling of GDK thread lock.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2258 ee746299-78ed-0310-b773-934348b2243d
2009-09-17disable threading if USE_THREADS is not set.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2257 ee746299-78ed-0310-b773-934348b2243d
2009-09-17introduced multi-threading.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2255 ee746299-78ed-0310-b773-934348b2243d
2008-12-03added SYL_ prefix to SockFlags enum to avoid confliction with recent glibc ↵hiro
header file. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2088 ee746299-78ed-0310-b773-934348b2243d
2008-09-19remote mailbox: added stop button which stops retrieving of headers.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2036 ee746299-78ed-0310-b773-934348b2243d
2008-02-15fixed busy loop when connection was immediately refused.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1953 ee746299-78ed-0310-b773-934348b2243d
2007-07-20ignore errors right after QUIT (workaround for Gmail SMTP server).hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1873 ee746299-78ed-0310-b773-934348b2243d
2007-06-11fixes stall of SMTP when sending via dialup connection.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1757 ee746299-78ed-0310-b773-934348b2243d
2007-01-24win32: inhibit the warning of setsockopt().hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1501 ee746299-78ed-0310-b773-934348b2243d
2007-01-22prevented WSAEWOULDBLOCK on sending/receiving in Win32.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1500 ee746299-78ed-0310-b773-934348b2243d
2007-01-19win32: increased SO_SNDBUF and SO_RCVBUF (fixes low performance on sending ↵hiro
data). git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1499 ee746299-78ed-0310-b773-934348b2243d
2006-12-25fixed compilation failure with GLib 2.4.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1456 ee746299-78ed-0310-b773-934348b2243d
2006-12-13Unix: reload /etc/resolv.conf if it has been modified.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1418 ee746299-78ed-0310-b773-934348b2243d
2006-10-13win32: fixed socket.c and session.c.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1230 ee746299-78ed-0310-b773-934348b2243d
2006-10-04win32: implemented sock_set_nonblocking_mode().hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1211 ee746299-78ed-0310-b773-934348b2243d
2006-10-03socket.c: if recv() or send() fail with WSAEWOULDBLOCK, set errno to EAGAIN.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1207 ee746299-78ed-0310-b773-934348b2243d
2006-09-06socket.c: retry waitpid() when it is interrupted.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1143 ee746299-78ed-0310-b773-934348b2243d
2006-02-14win32: avoid blocking when reading from socket.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1001 ee746299-78ed-0310-b773-934348b2243d
2006-01-30code cleanup of socket.c.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@941 ee746299-78ed-0310-b773-934348b2243d
2006-01-26supported IPv6 on Win32.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@932 ee746299-78ed-0310-b773-934348b2243d
2005-10-27libsylph/socket.c: fd_accept(): enabled on win32.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@693 ee746299-78ed-0310-b773-934348b2243d
2005-10-27win32: implemented remote command using TCP socket.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@692 ee746299-78ed-0310-b773-934348b2243d
2005-09-13changed the license of LibSylph from GPL to LGPL.hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@578 ee746299-78ed-0310-b773-934348b2243d
2005-08-31made some core modules library (libsylph).hiro
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@528 ee746299-78ed-0310-b773-934348b2243d