| 354 | // ---------------------------------------------------------------------------------------- |
| 355 | |
| 356 | int connection:: |
| 357 | disable_nagle() |
| 358 | { |
| 359 | int flag = 1; |
| 360 | if(setsockopt( connection_socket, IPPROTO_TCP, TCP_NODELAY, (char *)&flag, sizeof(flag) )) |
| 361 | { |
| 362 | return OTHER_ERROR; |
| 363 | } |
| 364 | |
| 365 | return 0; |
| 366 | } |
| 367 | |
| 368 | // ---------------------------------------------------------------------------------------- |
| 369 |
nothing calls this directly
no outgoing calls
no test coverage detected