Browse Source

Disable fast_open when it's not supported

pull/1022/head
Max Lv 8 years ago
parent
commit
3383501e7b
2 changed files with 2 additions and 0 deletions
  1. 1
      src/local.c
  2. 1
      src/server.c

1
src/local.c

@ -1452,6 +1452,7 @@ main(int argc, char **argv)
LOGI("using tcp fast open");
#else
LOGE("tcp fast open is not supported by this environment");
fast_open == 0;
#endif
}

1
src/server.c

@ -1835,6 +1835,7 @@ main(int argc, char **argv)
LOGI("using tcp fast open");
#else
LOGE("tcp fast open is not supported by this environment");
fast_open = 0;
#endif
}

Loading…
Cancel
Save