Skip to content

Commit

Permalink
Disable fast_open when it's not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye authored and Noisyfox committed Feb 1, 2017
1 parent f7c9fcf commit 2a7a120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/local.c
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,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
}

Expand Down
1 change: 1 addition & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1708,6 +1708,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
}

Expand Down

0 comments on commit 2a7a120

Please sign in to comment.