nghttpx: Fix TLS write limit does not work

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-21 21:47:25 +09:00
parent 53a41c953d
commit 3c5ca63b6f
2 changed files with 2 additions and 2 deletions

View File

@ -488,7 +488,7 @@ ClientHandler::ClientHandler(struct ev_loop *loop, int fd, SSL *ssl,
rlimit_(loop, &rev_, get_config()->read_rate, get_config()->read_burst),
loop_(loop), dconn_pool_(dconn_pool), http2session_(nullptr),
http1_connect_blocker_(nullptr), ssl_(ssl), worker_stat_(worker_stat),
last_write_time_(0), warmup_writelen_(0),
last_write_time_(0.), warmup_writelen_(0),
left_connhd_len_(NGHTTP2_CLIENT_CONNECTION_PREFACE_LEN),
tls_last_writelen_(0), tls_last_readlen_(0), fd_(fd),
should_close_after_write_(false), tls_handshake_(false),

View File

@ -169,7 +169,7 @@ private:
ConnectBlocker *http1_connect_blocker_;
SSL *ssl_;
WorkerStat *worker_stat_;
int64_t last_write_time_;
double last_write_time_;
size_t warmup_writelen_;
// The number of bytes of HTTP/2 client connection header to read
size_t left_connhd_len_;