cbodley / nexus Goto Github PK
View Code? Open in Web Editor NEWA C++ QUIC and HTTP/3 library based on lsquic and boost::asio
License: Boost Software License 1.0
A C++ QUIC and HTTP/3 library based on lsquic and boost::asio
License: Boost Software License 1.0
why boringssl is required ?? please explain. I was looking through the code with an intent to enhance it to implement webtransport. is the code being actively enhanced and maintained ??
When I try to compile with boost/1.84
I get the following errors:
In file included from /Users/gegles/Workspaces/quic/nexus/include/nexus/h3/client.hpp:3:
/Users/gegles/Workspaces/quic/nexus/include/nexus/udp.hpp:67:59: error: use of undeclared identifier 'IPV6_RECVPKTINFO'
using receive_dstaddr = detail::socket_option<IP_PKTINFO, IPV6_RECVPKTINFO>;
^
In file included from /Users/gegles/Workspaces/quic/nexus/src/client.cc:1:
In file included from /Users/gegles/Workspaces/quic/nexus/include/nexus/h3/client.hpp:4:
In file included from /Users/gegles/Workspaces/quic/nexus/include/nexus/quic/client.hpp:6:
In file included from /Users/gegles/Workspaces/quic/nexus/include/nexus/quic/detail/socket_impl.hpp:6:
In file included from /Users/gegles/Workspaces/quic/nexus/include/nexus/quic/detail/connection_impl.hpp:4:
In file included from /Users/gegles/Workspaces/quic/nexus/include/nexus/quic/detail/connection_state.hpp:7:
In file included from /Users/gegles/Workspaces/quic/nexus/include/nexus/quic/detail/stream_impl.hpp:6:
/Users/gegles/Workspaces/quic/nexus/include/nexus/quic/detail/operation.hpp:141:9: error: no member named 'execute' in namespace 'boost::asio::execution'; did you mean 'execle'?
boost::asio::execution::execute(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
execle
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:442:6: note: 'execle' declared here
int execle(const char * __path, const char * __arg0, ...) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
It seems that boost::asio::execution::execute
has moved or been deprecated between 1.83 and 1.84...
Hello,
Can you also provide a HTTP/3 server example that can be used with the h3cli example?
Thanks
Rakesh
examples/echo/server.cc
seems to have a pointer problem.
When running the server and running the client on the same port, the server prints "new connection", but then crashes.
The problem seems to be in the constructor of echo_stream
, server.cc:91:
explicit echo_stream(connection_ptr conn) : conn(std::move(conn)), stream(conn->conn) {}
The initialization of the stream causes a crash, but I'm not sure how to fix it.
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.