diff options
Diffstat (limited to '')
-rw-r--r-- | src/shrpx_connection_handler.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/shrpx_connection_handler.h b/src/shrpx_connection_handler.h index 47ec209..16e56e0 100644 --- a/src/shrpx_connection_handler.h +++ b/src/shrpx_connection_handler.h @@ -195,8 +195,7 @@ public: int forward_quic_packet(const UpstreamAddr *faddr, const Address &remote_addr, const Address &local_addr, const ngtcp2_pkt_info &pi, - const WorkerID &wid, const uint8_t *data, - size_t datalen); + const WorkerID &wid, std::span<const uint8_t> data); void set_quic_keying_materials(std::shared_ptr<QUICKeyingMaterials> qkms); const std::shared_ptr<QUICKeyingMaterials> &get_quic_keying_materials() const; @@ -215,8 +214,8 @@ public: int forward_quic_packet_to_lingering_worker_process( QUICLingeringWorkerProcess *quic_lwp, const Address &remote_addr, - const Address &local_addr, const ngtcp2_pkt_info &pi, const uint8_t *data, - size_t datalen); + const Address &local_addr, const ngtcp2_pkt_info &pi, + std::span<const uint8_t> data); void set_quic_ipc_fd(int fd); |