lib, tests: Use C-style comment

This commit is contained in:
Tatsuhiro Tsujikawa
2026-04-23 21:27:47 +09:00
parent f01d4068aa
commit 4fcf4ac82d
2 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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, ==,