mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
don't log bounce errors, just destroy the socket
This commit is contained in:
@@ -81,7 +81,6 @@ function maybe_bounce(req, res, bounce) {
|
|||||||
var stream = bounce(socket, { headers: { connection: 'close' } });
|
var stream = bounce(socket, { headers: { connection: 'close' } });
|
||||||
|
|
||||||
stream.on('error', function(err) {
|
stream.on('error', function(err) {
|
||||||
log.error(err);
|
|
||||||
socket.destroy();
|
socket.destroy();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user