Commit Graph

57 Commits

Author SHA1 Message Date
Émilien Devos c273c83b98
Merge pull request #15 from iv-org/syeopite-patch-1 2021-10-15 15:52:28 +02:00
syeopite a4ccf0dc6d
Change CI to run daily on multiple crystal vers 2021-10-15 13:30:43 +00:00
Emilien Devos 26ccce9a29 enable debug symbols 2021-09-03 21:23:52 +02:00
Emilien Devos 0b9f16aa2f build lsquic compiled docker image 2021-08-24 22:23:03 +02:00
syeopite 632d632bfa
Actually use correct shard version 2021-06-10 04:54:43 -07:00
syeopite 52bf01c559
Fix shard version 2021-06-10 04:53:21 -07:00
syeopite cdec31a66e
Merge pull request #11 from syeopite/add-ci
Add CI workflow
2021-06-10 04:38:21 -07:00
syeopite 9eb767d668
Merge pull request #10 from syeopite/master
Upgrade to crystal 1.0
2021-06-10 04:37:30 -07:00
syeopite 4ba1a4a4dd
Add CI workflow 2021-06-09 16:10:58 -07:00
syeopite c417433a47
Support crystal 1.0 2021-06-09 15:56:24 -07:00
syeopite 53f31fd94c
Revert "Update recieve function to read full data from socket at once"
This reverts commit a3d2458c28.
2021-06-09 15:52:46 -07:00
syeopite 40b9ccc733
Revert "upgrade to 2.23.1 of lsquic (#6)"
This reverts commit cb01d0fbb8.
2021-06-09 15:50:28 -07:00
syeopite db4f73c25c
Revert "Merge pull request #7 from tenpura-shrimp/processconns5"
This reverts commit 3aab3dd7f1, reversing
changes made to cb01d0fbb8.
2021-06-09 15:50:15 -07:00
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