"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/liblsquic/lsquic_full_conn.c" between
lsquic-2.22.1.tar.gz and lsquic-2.23.1.tar.gz

About: LSQUIC is LiteSpeed’s QUIC and HTTP/3 Library. A hint: HTTP/3 uses QUIC as the underlying transport protocol instead of TCP.

lsquic_full_conn.c  (lsquic-2.22.1):lsquic_full_conn.c  (lsquic-2.23.1)
skipping to change at line 4026 skipping to change at line 4026
if (0 != lsquic_stream_uh_in(pushed_stream, uh)) if (0 != lsquic_stream_uh_in(pushed_stream, uh))
{ {
LSQ_WARN("stream barfed when fed synthetic request"); LSQ_WARN("stream barfed when fed synthetic request");
free(uh); free(uh);
return -1; return -1;
} }
if (0 != lsquic_headers_stream_push_promise(conn->fc_pub.u.gquic.hs, dep_str eam->id, if (0 != lsquic_headers_stream_push_promise(conn->fc_pub.u.gquic.hs, dep_str eam->id,
pushed_stream->id, headers)) pushed_stream->id, headers))
{ {
/* Since the failure to write to HEADERS stream results in aborting /* If forget we ever had the hset pointer: */
* the connection, we do not bother rolling back. lsquic_stream_drop_hset_ref(pushed_stream);
*/ /* Now roll back stream creation and return stream ID: */
LSQ_ERROR("could not send push promise"); if (pushed_stream->sm_hash_el.qhe_flags & QHE_HASHED)
lsquic_hash_erase(conn->fc_pub.all_streams,
&pushed_stream->sm_hash_el);
lsquic_stream_destroy(pushed_stream);
conn->fc_last_stream_id -= 2;
LSQ_INFO("could not send push promise");
return -1; return -1;
} }
lsquic_stream_call_on_new(pushed_stream); lsquic_stream_call_on_new(pushed_stream);
return 0; return 0;
} }
static void static void
full_conn_ci_tls_alert (struct lsquic_conn *lconn, uint8_t alert) full_conn_ci_tls_alert (struct lsquic_conn *lconn, uint8_t alert)
{ {
 End of changes. 1 change blocks. 
4 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)