Skip to content

Commit

Permalink
fixup! fixup! fixup! src: implement native quic api
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Aug 28, 2022
1 parent 98886c2 commit eaa2d95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/quic/crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ int CryptoContext::OnTLSStatus() {
if (!SSL_set_tlsext_status_ocsp_resp(ssl_.get(), data, buf.len))
OPENSSL_free(data);

std::move(ocsp_response_);
USE(std::move(ocsp_response_));
return SSL_TLSEXT_ERR_OK;
}
case NGTCP2_CRYPTO_SIDE_CLIENT: {
Expand Down
3 changes: 1 addition & 2 deletions src/quic/http3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,7 @@ int Http3Application::GetStreamData(StreamData* stream_data) {
}

bool Http3Application::StreamCommit(StreamData* stream_data, size_t datalen) {
error_code err = nghttp3_conn_add_write_offset(
connection_.get(), stream_data->id, datalen);
int err = nghttp3_conn_add_write_offset(connection_.get(), stream_data->id, datalen);
if (err != 0) {
session().SetLastError(
QuicError::ForApplication(nghttp3_err_infer_quic_app_error_code(err)));
Expand Down

0 comments on commit eaa2d95

Please sign in to comment.