Commit 95cb284e authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

h2load: Rename Client::on_connect as connection_made

parent c4ccc376
......@@ -406,7 +406,7 @@ void Client::on_stream_close(int32_t stream_id, bool success,
int Client::noop() { return 0; }
int Client::on_connect() {
int Client::connection_made() {
if (ssl) {
report_tls_info();
......@@ -576,7 +576,7 @@ int Client::connected() {
readfn = &Client::read_clear;
writefn = &Client::write_clear;
if (on_connect() != 0) {
if (connection_made() != 0) {
return -1;
}
......@@ -611,7 +611,7 @@ int Client::tls_handshake() {
readfn = &Client::read_tls;
writefn = &Client::write_tls;
if (on_connect() != 0) {
if (connection_made() != 0) {
return -1;
}
......
......@@ -207,9 +207,10 @@ struct Client {
int on_read(const uint8_t *data, size_t len);
int on_write();
int on_connect();
int noop();
int connection_made();
void on_request(int32_t stream_id);
void on_header(int32_t stream_id, const uint8_t *name, size_t namelen,
const uint8_t *value, size_t valuelen);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment