comparison svr-main.c @ 1084:2265d7ebfdeb

separate client/server fastopen options
author Matt Johnston <matt@ucc.asn.au>
date Fri, 29 May 2015 23:19:11 +0800
parents a00303a7d247
children 64a50eac1030
comparison
equal deleted inserted replaced
1083:8e0280986710 1084:2265d7ebfdeb
427 } 427 }
428 428
429 for (n = 0; n < (unsigned int)nsock; n++) { 429 for (n = 0; n < (unsigned int)nsock; n++) {
430 int sock = socks[sockpos + n]; 430 int sock = socks[sockpos + n];
431 set_sock_priority(sock, DROPBEAR_PRIO_LOWDELAY); 431 set_sock_priority(sock, DROPBEAR_PRIO_LOWDELAY);
432 #ifdef DROPBEAR_TCP_FAST_OPEN 432 #ifdef DROPBEAR_SERVER_TCP_FAST_OPEN
433 set_listen_fast_open(sock); 433 set_listen_fast_open(sock);
434 #endif 434 #endif
435 } 435 }
436 436
437 sockpos += nsock; 437 sockpos += nsock;