mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-15 14:05:03 -05:00
shrpx: Remove warn log from upstream_{read,write}cb
This commit is contained in:
parent
c306402a20
commit
e454cc1301
@ -43,7 +43,6 @@ void upstream_readcb(bufferevent *bev, void *arg)
|
|||||||
ClientHandler *handler = reinterpret_cast<ClientHandler*>(arg);
|
ClientHandler *handler = reinterpret_cast<ClientHandler*>(arg);
|
||||||
int rv = handler->on_read();
|
int rv = handler->on_read();
|
||||||
if(rv != 0) {
|
if(rv != 0) {
|
||||||
CLOG(WARNING, handler) << "Read operation (application level) failure";
|
|
||||||
delete handler;
|
delete handler;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -65,7 +64,6 @@ void upstream_writecb(bufferevent *bev, void *arg)
|
|||||||
Upstream *upstream = handler->get_upstream();
|
Upstream *upstream = handler->get_upstream();
|
||||||
int rv = upstream->on_write();
|
int rv = upstream->on_write();
|
||||||
if(rv != 0) {
|
if(rv != 0) {
|
||||||
CLOG(WARNING, handler) << "Write operation (application level) failure";
|
|
||||||
delete handler;
|
delete handler;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user