cheatfate
645d62db78
Remove fastpath execution and finally fix issue.
2021-04-27 00:07:49 +03:00
Eugene Kabanov
39f4060e07
Refactor and optimization of BoundedStream. ( #180 )
...
Documentation for BoundedStream.
Fix HttpServer bounding.
2021-04-26 14:05:37 +03:00
cheatfate
eb81018d02
Address review comments and fix issues found.
...
Adding more tests.
2021-02-18 22:16:04 +02:00
cheatfate
fc0d1bcb43
Address review comments.
2021-02-18 22:16:04 +02:00
cheatfate
3e9ffae407
Properly fix case when request body size exceeds maximum allowed size.
2021-02-18 22:16:04 +02:00
cheatfate
970e5641d7
Add less strict rules for BoundStream reader/writer.
2021-02-18 22:16:04 +02:00
cheatfate
c0472bd349
Fix streams to check only for Closed state.
2021-02-18 22:16:04 +02:00
cheatfate
2defc4b822
Add sequence of bytes as boundary to BoundStream and tests.
2021-02-18 22:16:04 +02:00
cheatfate
ac8b11d6ca
close() procedure should not raise, otherwise its impossible to cleanup.
2021-02-18 22:16:04 +02:00
cheatfate
0cb6840f03
Big refactoring of AsyncStreams.
...
1. Implement all read() primitives using readLoop() like it was done in streams.
2. Fix readLine() bug.
3. Add readMessage() primitive.
4. Fixing exception hierarchy, handling code and simplification of (break/continue + exception).
5. Fix TLSStream closure procedure.
6. Add BoundedStream stream and tests.
7. Remove `result` usage from the code.
2021-02-18 22:16:04 +02:00