-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quic_recvmsg(): Transport endpoint is not connected on client side #24
Comments
To better understand and reproduce the problem, could you share a minimal code snippet that demonstrates how you're sending and receiving data using libquic? 128 or 0x80 should mean |
Hi! Thank you for your reply! The data is sent over the loopback interface, which has a MTU of 65536 byte. A new recording with ssl key log file can be found here: 2025.01.28__Issue_QUIC_wireshark.zip . The last interactions within the pcap file represent the error-related case with n = 65794 B. The usage of Client:
Server:
|
The attachment doesn't work for me. |
Now, it should work to download the zip archive. |
I can reproduce your problem with the following source code file:
errcode 5 indicates the internal This is also visible in your pcap:
and then
To my understanding SID 2 no longer exists for the QUIC implementation as it set FIN and all data arrived at user space. |
Please update your module, I think @lxin fixed this problem. Please report back. |
Yes, now it works without problems! Thanks a lot for your help!! |
Hi again! |
@Powerjonny Thanks for opening this issue. I don't see the ssl key log file from the attachment, but only the pcapng file:
Can you run your test again the latest repo? and if the issue still exists, please attach both pcapng and ssl key log file. BTW, you can get the ssl key log file by running: Thanks. |
By using the
libquic
user space implementation, echoing more than 65535 Byte between client and server results in an error. After the server has calledquic_recvmsg
twice to get the whole data request, sending data back to client results inquic_recvmsg(): Transport endpoint is not connected
. Monitoring the data exchange with Wireshark shows that the client is sending additional data (maybe event or notification data, see 2025.01.28__Issue_QUIC_wireshark.zip) . Furthermore, printing theflags
parameter fromquic_recvmsg
indicates something (flags
is equal to 128 instead 640). Is there something that has to be taken into account (e.g. setting transport parameters)?The text was updated successfully, but these errors were encountered: