Commit Graph
21 Commits
Author SHA1 Message Date
Sven Wästlund 3616f7208a socket.error is now caught in perform_request aswell.
Fixes #205
2015-03-11 16:17:10 +01:00
Honza Král ecfeb93a6f Introducing a ConnectionTimeout as a subclass of ConnectionError
This is to enable #128 to work
2014-10-03 18:49:07 +02:00
Honza Král 40f7fc5a01 Log failed attempts at closing the failed thrift connections 2014-09-27 17:34:00 +02:00
Michael Schier 76995a6582 ignore exceptions when trying to close transport socket 2014-09-23 23:38:58 +12:00
Michael Schier 2a1aac8c3b close thrift connection upon exception 2014-09-23 01:40:04 +12:00
Michael Schier 8a4c990065 addressed maintainer comments 2014-09-23 01:13:04 +12:00
Michael Schier c4bbe7382b discard dodgy thrift connections that went into a bad state, made PoolingConnection thread-safe 2014-09-19 01:45:03 +12:00
Honza Král 44060a48a0 Catch socket.timeout in ThriftConnection
Fixes #121, thanks traxair!
2014-09-08 12:08:45 +02:00
Honza Král 3e4ece48bd Even in thrift empty response should be '' and not None 2014-02-11 01:00:01 +01:00
Honza Král 59e76733de Lowercase all thrift headers for compatibility with http 2014-02-11 00:49:30 +01:00
Honza Král c82219ea0a Make sure we clean up correctly after failed thrift connection 2014-01-18 21:33:04 +01:00
Honza Král 2a76e66dea Thrift is not lazy during opening connection
we need to look out for exceptions even when requesting one
2014-01-18 21:29:26 +01:00
Honza Král e2ab7ea80d Adding a third return value from connection.perform_request - headers
This will be used to implement deserializing based on mimetype
2013-12-13 19:36:21 +01:00
Honza Král c5c98dcaac Add logging of body as INFO on connection error 2013-12-03 01:55:32 +01:00
Honza Kral 672fdf7d5f Make ignore a global parameter 2013-09-25 23:09:50 +02:00
Honza Kral 33b05bdc62 Thrift SSL support 2013-09-25 21:31:10 +02:00
Honza Kral ec038c4e9c More doc fixes 2013-09-24 16:58:37 +02:00
Honza Kral 38ba61d511 Fix memcached tests for py3 2013-08-25 18:01:45 +02:00
Honza Kral 39bcd81957 Minor fixes 2013-08-25 17:58:30 +02:00
Honza Kral 667160e9dc Added PoolingConnection for non thread-safe connection classes 2013-08-25 17:00:46 +02:00
Honza Kral e91ed68bd0 Split individual connection classes 2013-08-25 16:39:56 +02:00