dtikhonov / lsquic-tutorial Goto Github PK
View Code? Open in Web Editor NEWlsquic tutorial teaches one how to build an application using lsquic, an open-source QUIC and HTTP/3 library
License: MIT License
lsquic tutorial teaches one how to build an application using lsquic, an open-source QUIC and HTTP/3 library
License: MIT License
I have two concerns about this lsquic's tutorial (https://github.com/dtikhonov/lsquic-tutorial/blob/master/tut.c).
Concern 1 :
You said that server reads a string from client, reverse it and sends it back to client.
I tried to see where the string is given in the code but I didn't see.
Can you show me how and where can I get the value of spec[n].iov in order to see the value of the
string sent between client and server, please?
Concern 2 :
How can I do to maintain the connexion between client and server and send the string many times?
Apologize me for many questions, I'm new on lsquic and also on socket programming.
Your help will be appreciated.
Regards
Hello, Is it possible that openssl is a version dependent issue?
error infomation:
01:36:46.765482 [DEBUG] [QUIC:EBB10049E9C34712] event: version negotiation: proposed version 00000001
01:36:46.765498 [DEBUG] [QUIC:EBB10049E9C34712] qlog: [1021559069,"CONNECTIVITY","VERNEG","LINE",{"proposed_version":"00000001"}]
01:36:46.765521 [DEBUG] [QUIC:EBB10049E9C34712] conn: record path 0: (0.0.0.0:0 - 112.17.51.59:12345)
01:36:46.765550 [DEBUG] [QUIC:EBB10049E9C34712] conn: spin bit enabled on path 0
01:36:46.765564 [DEBUG] [QUIC:EBB10049E9C34712] conn: record new path ID 0
01:36:46.765589 [DEBUG] engine: decref conn EBB10049E9C34712, 'HT' -> 'H'
01:36:46.765623 [DEBUG] [QUIC:EBB10049E9C34712] pacer: lsquic_pacer_can_schedule: 1
01:36:46.765640 [DEBUG] [QUIC:EBB10049E9C34712] sendctl: pacer blocked: 0, in_flight_all: 0
01:36:46.765664 [DEBUG] [QUIC:EBB10049E9C34712-18446744073709551615] stream: dispatch_write_events, sm_qflags: 2. stream_flags: 131072, sm_bflags: 58, max_send_off: 18446744073709551615, tosend_off: 0, sm_n_buffered: 0
01:36:46.767493 [DEBUG] [QUIC:EBB10049E9C34712] handshake: handshake: error:00000001:invalid library (0):OPENSSL_internal:unknown library
01:36:46.767536 [DEBUG] [QUIC:EBB10049E9C34712] handshake: handshake failed
01:36:46.767550 [DEBUG] [QUIC:EBB10049E9C34712] conn: handshake failed
01:36:46.767563 [DEBUG] [QUIC:EBB10049E9C34712] handshake: enc level INIT after on_write: stop
01:36:46.767578 [DEBUG] [QUIC:EBB10049E9C34712] handshake: Exit shake_stream
01:36:46.767594 [DEBUG] [QUIC:EBB10049E9C34712] sendctl: app-limited
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.