diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-08-28 16:55:16 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-09-03 10:59:19 +0200 |
commit | 3a174cd400c6c239539d4c0c10b557c3e0615212 (patch) | |
tree | 3a7b26b9218f9e3d17d8a3f5f77e032b35f6e416 /src/sync.cpp | |
parent | 6d2bc221463ffe3ed3a99e8c682b090983b2e7b5 (diff) |
Fix race condition between starting HTTP server thread and setting EventBase()
Split StartHTTPServer into InitHTTPServer and StartHTTPServer to give
clients a window to register their handlers without race conditions.
Thanks @ajweiss for figuring this out.
Diffstat (limited to 'src/sync.cpp')
0 files changed, 0 insertions, 0 deletions