put logging of the data to be sent in a more appropriate place
This commit is contained in:
parent
e40a7b98be
commit
cc2cf381d2
2 changed files with 2 additions and 2 deletions
|
@ -655,7 +655,6 @@ void send_data(const config& cfg, connection connection_num)
|
|||
if(cfg.empty()) {
|
||||
return;
|
||||
}
|
||||
LOG_NW << "SENDING to: " << connection_num << ": " << cfg.debug();
|
||||
|
||||
if(bad_sockets.count(connection_num) || bad_sockets.count(0)) {
|
||||
return;
|
||||
|
|
|
@ -181,7 +181,8 @@ bool receive_with_timeout(TCPsocket s, char* buf, size_t nbytes, bool update_sta
|
|||
}
|
||||
|
||||
static SOCKET_STATE send_buf(TCPsocket sock, config& config_in) {
|
||||
write_possibly_compressed(std::cerr, config_in, false);
|
||||
LOG_NW << "SENDING to: " << sock << ": " << config_in.debug();
|
||||
//write_possibly_compressed(lg::debug(lg::network), config_in, false);
|
||||
#ifdef __BEOS__
|
||||
int timeout = 15000;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue