Commit Graph

11 Commits

Author SHA1 Message Date
Tyler Brock
9b38c3a70f minor: JRUBY hacks 2012-05-15 16:52:59 -04:00
Tyler Brock
2de3dcab94 RUBY-442
Using sysread so Ruby 1.8.x won't complain about nonblocking IO#read
2012-05-15 16:52:58 -04:00
Tyler Brock
6663660d92 RUBY-442
Use read instead of readpartial.
Rescue ETIMEDOUT and raise appropriate ConnectionError
2012-05-14 16:03:08 -04:00
Tyler Brock
00cea59c10 minor: refactor TCP_NODELAY 2012-04-08 10:48:25 -04:00
Tyler Brock
0bd7d3830d RUBY-429 wrap IO errors from select and read 2012-04-05 12:47:17 -04:00
Tyler Brock
a5b5d5e3e3 RUBY-429 tweaks to rescued errors 2012-04-04 20:45:29 -04:00
Tyler Brock
58f0ee8fff RUBY-429 rescue granularity 2012-04-04 20:12:36 -04:00
Tyler Brock
7337a06311 RUBY-429 rescue additional socket and IO errors 2012-04-04 15:10:58 -04:00
Tyler Brock
76bf4dffe5 RUBY-429 rescue and raise appropriate errors 2012-04-04 13:51:04 -04:00
Tyler Brock
01f28b47ff RUBY-429 non-blocking IO for socket timeouts
Should greatly improve performance for highly threaded applications
using connection and operation timeouts.
2012-04-03 16:06:37 -04:00
Tyler Brock
93b2f3da9b minor: Added TCPSocket Class w/ pool accessor
Sockets now know what pool they were checked out from
SSLSocket updated as well
2012-03-02 19:16:14 -05:00