Perflyst
3aab3dd7f1
Merge pull request #7 from tenpura-shrimp/processconns5
...
Update lsquic binding lifecycle
2021-02-18 15:42:38 +01:00
Van Huynh
cb01d0fbb8
upgrade to 2.23.1 of lsquic ( #6 )
...
* upgrade to 2.23.1 of lsquic
* Update shard.yml
* Update version in README
* Use compiled liblsquic.a from static alpine build
https://github.com/iv-org/lsquic-static-alpine/releases/tag/v2.23.1
https://github.com/iv-org/lsquic-static-alpine/releases/download/v2.23.1/liblsquic.a
* Update README.md
Co-authored-by: saltycrys <73420320+saltycrys@users.noreply.github.com>
Co-authored-by: Perflyst <mail@perflyst.de>
Co-authored-by: saltycrys <73420320+saltycrys@users.noreply.github.com>
2021-02-18 08:40:35 +01:00
Andrew Zhao
a3d2458c28
Update recieve function to read full data from socket at once
...
The existing code reads each message from the socket individually and calls
engine_process_conns after each message. This seems inefficient as it leads
to excess calls engine_process_conns.
This changes the code that reads from the socket to read all available messages
before calling engine_process_conns based off of the logic in the reference
implementation.
reference: https://github.com/litespeedtech/lsquic/blob/master/bin/test_common.c#L737
2021-02-10 00:13:36 -05:00
Andrew Zhao
c965e0a380
Implement engine_process_connections timer
...
The previous code did not have an implementation to set timers for processing
connections. This leads to an occasional deadlock where process_connections
must be called to continue. This change implements this timer modelled after
the lsquic reference implementation.
Reference: https://github.com/litespeedtech/lsquic/blob/master/bin/prog.c#L535
2021-02-10 00:13:36 -05:00
Perflyst
cd6ec66292
Merge pull request #5 from vhuynh3000/fix_closed_stream_with_open_engine
...
Remove the ensure block and close the socket only if there is no exception
2021-02-08 19:38:01 +01:00
vhuynh3000
5ef544c1bd
Remove the ensure block and close the socket only if there is no exception so that exception during reads do not leave an engine running with no socket.
2020-10-22 21:44:58 -07:00
Van Huynh
4855742c45
close socket when the connection is closed ( #2 )
...
Close socket when the connection is closed
2020-10-16 08:41:24 +00:00
TheFrenchGhosty
24dc58db99
Merge pull request #3 from SuperSandro2000/patch-1
...
Update org to iv-org
2020-10-06 11:10:22 +00:00
Sandro
2eceb3c279
Update org to iv-org
2020-10-04 13:30:32 +02:00
Omar Roth
195bb9e480
Update README
2020-07-19 12:00:08 -04:00
Omar Roth
96a75aae05
Update to latest version of lsquic
2020-07-19 11:42:57 -04:00
Omar Roth
5261034c0d
Update UA
2020-05-25 12:51:25 -05:00
Omar Roth
392a57aa8f
Update to latest version of lsquic
2020-05-20 12:00:38 -05:00
Omar Roth
a6033ff7df
Bump version
2019-12-14 16:06:48 -05:00
Omar Roth
e9db6c73b5
Keep reference so GC doesn't collect stream_ctx
2019-12-14 16:06:12 -05:00
Omar Roth
0d1ee4e712
Bump version
2019-11-28 08:56:37 -05:00
Omar Roth
bc101423fa
Fix binding for IPv6
2019-11-28 08:56:01 -05:00
Omar Roth
fd48ef3471
Bump version
2019-11-27 11:54:08 -06:00
Omar Roth
023b4d9195
Add specs
2019-11-27 11:53:45 -06:00
Omar Roth
32aee44d8e
Add support for specifying family
2019-11-27 11:53:14 -06:00
Omar Roth
31ad3664a5
Bump version
2019-11-24 15:25:35 -05:00
Omar Roth
1f7c9c652f
Catch closed stream in readf
2019-11-24 14:24:45 -05:00
Omar Roth
50041fa046
Use buffered write
2019-11-24 13:57:21 -05:00
Omar Roth
31403055e7
Bump version
2019-11-24 13:37:13 -05:00
Omar Roth
016f733109
Replace IO::FileDescriptor with IO::ChanneledPipe
2019-11-24 13:22:08 -05:00
Omar Roth
0c0d8748a7
Catch exception in on_close
2019-11-23 18:16:28 -05:00
Omar Roth
aa94a6ea1b
Catch exception in on_read
2019-11-23 18:11:54 -05:00
Omar Roth
7f2ecbfcdc
Handle engine in separate fiber
2019-11-23 17:35:46 -05:00
Omar Roth
3c7d1aeeb3
Bump version
2019-11-18 15:26:36 -05:00
Omar Roth
d11cafa0ee
Add patch for binding on musl
2019-11-18 15:21:18 -05:00
Omar Roth
7c0ade984c
Change default user-agent
2019-11-18 14:49:28 -05:00
Omar Roth
d85dd0b29b
Undefine missing functions
2019-11-18 14:43:37 -05:00
Omar Roth
e5c49ba0c0
Update static libs and bump version
2019-11-16 16:08:27 -05:00
Omar Roth
b84cc84aa1
Fix local variable stream_ctx
2019-11-16 14:50:07 -05:00
Omar Roth
820c169849
Bump version
2019-11-16 14:43:21 -05:00
Omar Roth
a50712f308
Fix require
2019-11-16 14:42:28 -05:00
Omar Roth
09b3f94426
Add licenses and update README
2019-11-16 14:15:26 -05:00
Omar Roth
6244230346
Add QUIC::Client
2019-11-16 14:07:48 -05:00
Omar Roth
1e96fa1d8d
Fix dependency management
2019-11-15 22:11:05 -05:00
Omar Roth
10e2894eef
Minor cleanup
2019-11-15 21:45:20 -05:00
Omar Roth
681ec162a4
Add license
2019-11-15 21:22:36 -05:00
Omar Roth
fcf16e715a
Add patch for BoringSSL
2019-11-15 21:22:20 -05:00
Omar Roth
6e4b028f45
Add support for writing headers
2019-11-13 09:31:41 -05:00
Omar Roth
33a6cdd79e
Initial commit
2019-11-12 20:15:43 -05:00