cheatfate
9b48496513
Fix compilation error with nimcrypto/utils import.
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
0b396c34d8
Add newline.
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
13eddf382d
Simplification and fixes for TLSStream state machine.
2021-02-18 22:16:04 +02:00
cheatfate
e8d2a3ca0a
Attempt #5 .
2021-02-18 22:16:04 +02:00
cheatfate
49fd70f504
Attempt #4 .
2021-02-18 22:16:04 +02:00
cheatfate
bb176ba574
Investigation of Linux freezes #1 .
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
Eugene Kabanov
b5915ecd29
Small fixes ( #134 )
...
* Fix cancellation behavior.
Fix some compilation warnings.
* Fix cancelAndWait() and add proper documentation.
* Add completed(Future) and done(Future) calls to check if Future[T] completed without an error.
* Add stepsAsync() and tests.
* Fix comments.
* Fix new primitive comment, to avoid usage for task switches.
2020-11-13 14:22:58 +02:00
Eugene Kabanov
d3018ae908
Fix TLSStream SSL errors while in handshake could stuck connection. ( #133 )
...
Fix expired SSL certificate in tests.
2020-10-13 02:12:52 +03:00
cheatfate
fb00b20cfa
Fix all compilation warnings for 1.0.2.
...
Fix all related problems.
2019-10-29 23:19:41 +02:00
cheatfate
5f1391f39f
Fix unused imports.
2019-10-24 16:21:31 +03:00
cheatfate
29d9274e03
Fix some compilation warnings.
2019-10-24 16:01:57 +03:00
cheatfate
d008fa2087
Fix make serverName mandatory and check for empty serverName.
2019-10-16 09:07:46 +03:00
cheatfate
a92ad6d2d2
Add TLS inbound stream.
...
Fix some review comments.
2019-10-16 09:01:52 +03:00
cheatfate
c27624cfc0
Add TlsStream with client-only connections.
2019-10-08 18:46:27 +03:00
cheatfate
454571f943
Fix tests to consume all the bytes from the nested stream.
...
Add error messages for nested exceptions.
2019-05-08 12:44:00 +03:00
cheatfate
296b8c23a5
Fix tests compilation.
2019-05-07 23:20:06 +03:00
cheatfate
1763c9dcff
Add AsyncStreams.
...
Add Chunked-Encoding AsyncStream reader/writer.
Add tests.
2019-05-07 23:11:40 +03:00