mirror of
https://github.com/nghttp2/nghttp2.git
synced 2026-05-06 20:19:18 +08:00
lib, tests: Use C-style comment
This commit is contained in:
@@ -1981,9 +1981,9 @@ static int session_prep_frame(nghttp2_session *session,
|
||||
|
||||
rv = nghttp2_session_predicate_data_send(session, stream);
|
||||
if (rv != 0) {
|
||||
// If stream was already closed, nghttp2_session_get_stream()
|
||||
// returns NULL, but item is still attached to the stream.
|
||||
// Search stream including closed again.
|
||||
/* If stream was already closed, nghttp2_session_get_stream()
|
||||
returns NULL, but item is still attached to the stream.
|
||||
Search stream including closed again. */
|
||||
stream = nghttp2_session_get_stream_raw(session, frame->hd.stream_id);
|
||||
if (stream) {
|
||||
session_detach_stream_item(session, stream);
|
||||
|
||||
@@ -234,7 +234,7 @@ static const nghttp2_nv resnv[] = {
|
||||
};
|
||||
|
||||
static const nghttp2_nv trailernv[] = {
|
||||
// from http://tools.ietf.org/html/rfc6249#section-7
|
||||
/* from http://tools.ietf.org/html/rfc6249#section-7 */
|
||||
MAKE_NV("digest", "SHA-256="
|
||||
"MWVkMWQxYTRiMzk5MDQ0MzI3NGU5NDEyZTk5OWY1ZGFmNzgyZTJlODYz"
|
||||
"YjRjYzFhOTlmNTQwYzI2M2QwM2U2MQ=="),
|
||||
@@ -9269,7 +9269,7 @@ static int submit_response_on_stream_close(nghttp2_session *session,
|
||||
(void)error_code;
|
||||
(void)user_data;
|
||||
|
||||
// Attempt to submit response or data to the stream being closed
|
||||
/* Attempt to submit response or data to the stream being closed */
|
||||
switch (stream_id) {
|
||||
case 1:
|
||||
assert_int(0, ==,
|
||||
|
||||
Reference in New Issue
Block a user