Commit Graph

223 Commits

Author SHA1 Message Date
Vladimir Magamedov 5f45b95911 Fixed graceful_exit tests to run in all Python versions 2019-03-29 12:37:00 +02:00
Vladimir Magamedov 40ae26568f Updated changelog, issued 0.2.3rc2 release candidate 2019-03-27 16:31:13 +02:00
Adam Liddell 61d1b9d2c9 Add long description to setup.py to show in PyPI 2019-03-27 16:21:40 +02:00
Vladimir Magamedov 35e8c4605e Generate *_grpc.py stub files even if service definitions don't exist in the .proto files, refs #42 2019-03-26 20:53:15 +02:00
Vladimir Magamedov 6b23361716 Updated README.rst 2019-03-26 19:45:06 +02:00
Vladimir Magamedov 4cefdb4544 Simplified work with headers in the client's Stream, fixed bug in the Channel.request method: deadline was ignored 2019-03-13 18:43:58 +02:00
Vladimir Magamedov eac4a45b6b Updated changelog, issued 0.2.3rc1 release candidate 2019-03-12 16:23:47 +02:00
Vladimir Magamedov 0278b569e5 Documented client-specific details 2019-03-12 16:16:36 +02:00
Vladimir Magamedov 6617e3d5a2 Documented server-specific details 2019-03-12 16:16:36 +02:00
Vladimir Magamedov 1024fe9937 Implemented graceful_exit context-manager 2019-03-12 16:16:36 +02:00
Vladimir Magamedov 21c822a3a6 Updated flake8 config 2019-03-12 16:08:05 +02:00
Vladimir Magamedov 65ba922d3f Removed metadata.Request class in favor to the _Headers namedtuple and _combine_headers function, refactored tests 2019-03-12 16:04:15 +02:00
Vladimir Magamedov e9d12b1663 Refactored aborts in the request_handler 2019-03-12 16:04:15 +02:00
Vladimir Magamedov d3be486898 Documented metadata usage 2019-03-06 17:41:44 +02:00
Vladimir Magamedov f22c1cc137 Issued 0.2.2 release 2019-03-01 12:13:41 +02:00
Vladimir Magamedov 9f69bb7cc1 Updated changelog, issued 0.2.2rc5 release candidate 2019-02-25 18:03:58 +02:00
Vladimir Magamedov 7515b85579 Logging StreamTerminatedError on the server-side if client resets stream 2019-02-25 18:01:21 +02:00
Vladimir Magamedov 70ff818ecd Updated changelog, issued 0.2.2rc4 release candidate 2019-02-14 19:03:16 +02:00
Vladimir Magamedov f330f42c7f Improved health checks support, updated documentation 2019-02-14 18:58:24 +02:00
Vladimir Magamedov bab3f09887 Updated changelog, issued 0.2.2rc3 release candidate 2019-02-11 12:15:46 +02:00
Vladimir Magamedov 646c10d26f Improved Wrapper class to support usage with several concurrent tasks, refs #56 2019-02-11 09:24:48 +02:00
Vladimir Magamedov a56b276e8f Checking that outgoing from client messages stream was properly ended before waiting for trailing metadata from server, fixed tests, refs #52 2019-01-28 16:41:12 +02:00
Vladimir Magamedov e422274975 Updated changelog, issued 0.2.2rc2 release candidate 2019-01-28 12:58:37 +02:00
Vladimir Magamedov fa2a24df08 Fixed flow-control window change detection for the case when the other party relies on connection-level window with unlimited stream-level windows, refs #43 2019-01-28 12:57:37 +02:00
Vladimir Magamedov 73d40083cc Updated changelog, issued 0.2.2rc1 release candidate 2019-01-25 18:11:06 +02:00
Vladimir Magamedov d98f7f50ff Implemented PING support for the EventsProcessor, refs #54 2019-01-25 18:06:36 +02:00
Vladimir Magamedov 74fa9c08f9 Refactored CI configs, added two versions of h2 into test matrix 2019-01-25 17:39:56 +02:00
Vladimir Magamedov 466dad4462 Documented GRPCError exception and its origins, refs #53 2019-01-21 09:07:25 +02:00
Vladimir Magamedov 85faa3b005 Fixed example in README.rst 2018-12-15 09:25:15 +02:00
Vladimir Magamedov 8edc590bb5 Updated changelog, issued 0.2.1 release 2018-12-15 09:11:10 +02:00
Vladimir Magamedov 8428cf6688 Added Channel.__del__ method to close unclosed connections and warn about them, fixes #50 2018-12-15 08:57:48 +02:00
Vladimir Magamedov 9e0d3918fe Updated changelog, issued 0.2.1rc1 release candidate 2018-10-30 14:01:40 +02:00
Vladimir Magamedov 4d3c557b7f Generated new *_pb2.py files by using grpcio-tools==1.16.0 2018-10-30 14:01:14 +02:00
Vladimir Magamedov c1419e1f72 Added grpclib.__version__ attribute. Sending more information in user-agent header, refs #47 2018-10-27 21:48:05 +03:00
Vladimir Magamedov c38f3074f4 Added workaround for h2, when h2 raises StreamIDTooLowError instead of StreamClosedError; fixes #27 2018-10-27 21:39:24 +03:00
Vladimir Magamedov 9db262eb56 Fixed flake8 warning in tests 2018-10-25 16:49:38 +03:00
Vladimir Magamedov 0b54e9ab26 Fixed deprecation warning in tests 2018-10-25 16:23:34 +03:00
Vladimir Magamedov 66188002c2 Added requirements.in file to specify tests requirements, refactored tox.ini and pi.yaml 2018-10-24 16:52:45 +03:00
Vladimir Magamedov 1de2e05871 Fixed Python 3.5 compatibility in tests 2018-10-18 19:06:06 +03:00
Vladimir Magamedov 678b48054a Fixed race condition in the Channel, which leads to creation of more than one connection; fixes #44 2018-10-18 18:48:02 +03:00
Vladimir Magamedov 58340adfb8 Fixed Python 3.5.1 compatibility (__aiter__ protocol was updated in 3.5.2) 2018-10-18 16:59:02 +03:00
Vladimir Magamedov 751fafa6fe Updated changelog, issued 0.2.0 version release 2018-10-16 19:34:16 +03:00
Vladimir Magamedov d7c5ef4709 Properly handling sequence of INITIAL_WINDOW_SIZE setting update and connection's window update in the EventsProcessor, fixes #43 2018-10-16 19:09:20 +03:00
Vladimir Magamedov cd62d6f8ad Generate *_grpc.py stub files only if service definitions exists in the .proto files, fixes #42 2018-10-09 19:56:14 +03:00
Vladimir Magamedov c936209cf4 Updated changelog, issued release candidate 0.2.0rc2 2018-10-02 16:34:21 +03:00
Vladimir Magamedov cd697ce86d Fixed possibility of the infinite loop when we reach max outbound streams limit and wait for a closed stream during "protocol:Stream.send_request" method call, fixes #39 2018-10-02 16:25:03 +03:00
Vladimir Magamedov abe6514e3f
Updated project description in the setup.py script 2018-09-23 01:02:36 +03:00
Vladimir Magamedov 045e25e643 Refactored channel_for context-manager into ChannelFor async context-manager to implement proper resources cleanup 2018-09-15 20:00:30 +03:00
Vladimir Magamedov a1b5b52623 Fixed log entry 2018-09-15 18:46:43 +03:00
Vladimir Magamedov e528a0afba Fixed PendingDeprecationWarning about Task.current_task() usage 2018-09-11 21:04:40 +03:00