Skip to content

fix(http2): make the benchmark disable Nagle's algorithm#22

Merged
tyoshino merged 1 commit intomainfrom
takeshi/nagle
Mar 17, 2026
Merged

fix(http2): make the benchmark disable Nagle's algorithm#22
tyoshino merged 1 commit intomainfrom
takeshi/nagle

Conversation

@tyoshino
Copy link
Copy Markdown
Collaborator

and bunch of clean up.

struct event_base* evbase;

int requests_completed;
int requests_in_flight;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing for now

int requests_completed;
int requests_in_flight;
int total_requests_submitted;
struct timeval start_time;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused

client->request_start_times.erase(it);
}

int loopexit_result = event_base_loopexit(client->evbase, NULL);
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding return value checking for ones that may fail with an error

}

// nghttp2 callbacks
static void setup_nghttp2_callbacks(nghttp2_session_callbacks* callbacks) {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inlining

@tyoshino tyoshino requested a review from wenbozhu March 17, 2026 14:45
@tyoshino tyoshino marked this pull request as ready for review March 17, 2026 14:45
@tyoshino tyoshino merged commit 811f434 into main Mar 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant