-
Notifications
You must be signed in to change notification settings - Fork 6
Example does not work with OpenBSD #1
Comments
You might try building the static objects in |
I forgot to mention that I did it before posting :) |
In that case you might check that lsquic is working correctly. After building lsquic you should have a Check that the following command returns a valid response, which would confirm the issue is in this library: $ ./http_client -4 -s google.com -p '/' -o version=Q046 -l conn=debug |
I have to change the code in test_common.c to make it work : |
Try building from the
|
Thank you. It builds fine but still no return from https://github.com/omarroth/lsquic.cr/blob/de2c945a2efaec85f0dfcb5a730fb976431fbb0c/src/lsquic/client.cr#L403 |
I'd recommend uncommenting these lines, which should enable verbose debugging information. Out of curiosity, does If either freezes at a particular point the previous 10-20 lines logged would be helpful. |
Here are some tests :
With reduced MAX_PACKET_SZ :
The example with debug enabled :
Note that tcpdump shows only the dns resolution with this example (no traffic going to port 443) while with http_client :
|
Would you mind checking with the latest version to see if the issue is fixed? |
No changes with the latest version of lsquic.cr. The good news though is http_client works without any changes to
|
Hi,
I am trying to get lsquic.cr to work on OpenBSD but the example is failing on me. When I start
crystal example.cr
I get no return from https://github.com/omarroth/lsquic.cr/blob/de2c945a2efaec85f0dfcb5a730fb976431fbb0c/src/lsquic/client.cr#L403I use :
I don't know if it is a Crystal, a liblsquic or a lsquic.cr problem.
Can you help with debugging this issue ?
example.cr :
The text was updated successfully, but these errors were encountered: