GithubHelp home page GithubHelp logo

dtikhonov / lsquic-tutorial Goto Github PK

View Code? Open in Web Editor NEW
28.0 2.0 10.0 217 KB

lsquic tutorial teaches one how to build an application using lsquic, an open-source QUIC and HTTP/3 library

License: MIT License

CMake 0.37% Shell 0.62% C 96.75% C++ 2.26%
quic http3 qpack lsquic netdev

lsquic-tutorial's People

Contributors

dtikhonov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lsquic-tutorial's Issues

Maintain the connection between the client and the server and change the value of the string sent

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

During the handshake, the following error is reported

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.