This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 3580ec8 Add override specifiers to Http2Stream class
3580ec8 is described below
commit 3580ec8bdbdb2112d59e28d1cda43b6d31e5ca63
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Mon Jun 12 12:04:25 2017 +0900
Add override specifiers to Http2Stream class
---
proxy/http2/Http2Stream.h | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/proxy/http2/Http2Stream.h b/proxy/http2/Http2Stream.h
index 1bc70a0..3a4477d 100644
--- a/proxy/http2/Http2Stream.h
+++ b/proxy/http2/Http2Stream.h
@@ -63,7 +63,7 @@ public:
~Http2Stream() { this->destroy(); }
int main_event_handler(int event, void *edata);
- void destroy();
+ void destroy() override;
bool
is_body_done() const
@@ -137,15 +137,15 @@ public:
Http2ErrorCode decode_header_blocks(HpackHandle &hpack_handle);
void send_request(Http2ConnectionState &cstate);
- VIO *do_io_read(Continuation *c, int64_t nbytes, MIOBuffer *buf);
- VIO *do_io_write(Continuation *c, int64_t nbytes, IOBufferReader *abuffer,
bool owner = false);
- void do_io_close(int lerrno = -1);
+ VIO *do_io_read(Continuation *c, int64_t nbytes, MIOBuffer *buf) override;
+ VIO *do_io_write(Continuation *c, int64_t nbytes, IOBufferReader *abuffer,
bool owner = false) override;
+ void do_io_close(int lerrno = -1) override;
void initiating_close();
- void do_io_shutdown(ShutdownHowTo_t) {}
+ void do_io_shutdown(ShutdownHowTo_t) override {}
void update_read_request(int64_t read_len, bool send_update);
bool update_write_request(IOBufferReader *buf_reader, int64_t write_len,
bool send_update);
- void reenable(VIO *vio);
- virtual void transaction_done();
+ void reenable(VIO *vio) override;
+ virtual void transaction_done() override;
void send_response_body();
void push_promise(URL &url);
@@ -187,17 +187,17 @@ public:
return chunked;
}
- void release(IOBufferReader *r);
+ void release(IOBufferReader *r) override;
virtual bool
- allow_half_open() const
+ allow_half_open() const override
{
return false;
}
- virtual void set_active_timeout(ink_hrtime timeout_in);
- virtual void set_inactivity_timeout(ink_hrtime timeout_in);
- virtual void cancel_inactivity_timeout();
+ virtual void set_active_timeout(ink_hrtime timeout_in) override;
+ virtual void set_inactivity_timeout(ink_hrtime timeout_in) override;
+ virtual void cancel_inactivity_timeout() override;
void clear_inactive_timer();
void clear_active_timer();
void clear_timers();
@@ -217,7 +217,7 @@ public:
}
bool
- is_first_transaction() const
+ is_first_transaction() const override
{
return is_first_transaction_flag;
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].