Eugene Kabanov
b14f66c295
No more Defect on stream close. ( #213 )
...
Fix async streams issue with replacing state.
Add `closing` states to HTTP's server connection, request and bodyrw.
Fix Http server cancellation leaks.
2021-08-06 13:13:55 +03:00
Eugene Kabanov
e6ba00cb81
Fix reading could stuck on very big chunked headers and tests. ( #178 )
2021-04-22 15:32:28 +03:00
cheatfate
25688cd0aa
Add hexValue tests.
2021-02-18 22:16:04 +02:00
cheatfate
4e9a857b90
Link to original procedure for hexValue().
2021-02-18 22:16:04 +02:00
cheatfate
1d49ae7a47
Fix x86 int conversion.
2021-02-18 22:16:04 +02: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
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
cheatfate
3c928918a4
Change AsyncStream close procedure from events to cancellation.
2019-10-08 10:28:43 +03:00
Eugene Kabanov
cd2571e80a
Merge pull request #41 from status-im/cancellation
...
[WIP] Initial cancellation proposal.
2019-07-06 15:44:21 +03:00
cheatfate
fcfb87d2a0
Deprecate oneIndex(), oneValue(), all(), or(), and().
...
Add allFutures() and one().
Fix deprecation in chunkedstream.
Add tests.
2019-07-04 15:04:59 +03:00
cheatfate
247e453b71
Fix hidden close issue in AsyncStream.
2019-07-02 21:26:21 +03:00
cheatfate
7d7753b7fd
Initial cancellation proposal.
2019-06-20 23:30:41 +03:00
cheatfate
5d4338d294
Fix chunkedstream documentation.
...
Remove unnecessary asserts.
2019-06-12 18:26:20 +03:00
cheatfate
f83d1b4da4
Remove some unused symbols.
2019-06-08 08:37:58 +03:00
cheatfate
77b4ff0534
Remove timeout handling for streams.
2019-06-06 14:00:47 +03:00
cheatfate
2ba6e5a412
Fix ChunkedStream error to be derived from CatchableError.
2019-05-10 09:01:16 +03:00
cheatfate
1763c9dcff
Add AsyncStreams.
...
Add Chunked-Encoding AsyncStream reader/writer.
Add tests.
2019-05-07 23:11:40 +03:00