Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
QuicConnection.hpp File Reference
#include <orbit/legacy_namespaces.hpp>
#include <ngtcp2/ngtcp2.h>
#include <ngtcp2/ngtcp2_crypto.h>
#include <openssl/ssl.h>
#include <vector>
#include <memory>
#include <mutex>
#include <chrono>
#include <string>
#include <orbit/network/PlatformSocket.hpp>
Include dependency graph for QuicConnection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  orbit::server::QuicConnection
 Represents a single QUIC connection. More...
 

Namespaces

namespace  orbit
 
namespace  orbit::server
 
namespace  orbit::server::detail
 
namespace  orbit::server::quic
 
namespace  orbit::server::quic::detail
 

Enumerations

enum class  orbit::server::quic::detail::ErrorAction { orbit::server::quic::detail::Drain , orbit::server::quic::detail::Drop , orbit::server::quic::detail::Close }
 What happens to a connection after an ngtcp2 error. More...
 

Functions

bool orbit::server::detail::quic_random_bytes (uint8_t *dest, size_t len)
 Fills dest with bytes from the OpenSSL CSPRNG. QUIC connection IDs, stateless reset tokens and path challenges must be unpredictable (RFC 9000 sections 5.1, 8.2 and 10.3).
 
ErrorAction orbit::server::quic::detail::on_read_error (int ngtcp2_error)
 For a failed ngtcp2_conn_read_pkt (RFC 9000 section 10.2).
 
ErrorAction orbit::server::quic::detail::on_expiry_error (int ngtcp2_error)