diff options
| author | zousar <[email protected]> | 2022-01-27 01:01:05 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-27 09:01:05 +0100 |
| commit | cf38d96543b2086a863ef4823ee769ec45cc45a4 (patch) | |
| tree | 1c5c56053f43271398d9f9a469383f29df76c570 /zenhttp/include | |
| parent | Implement SkipData,QueryLocal,StoreLocal for HandleRpcGetCacheRecords (#41) (diff) | |
| download | zen-cf38d96543b2086a863ef4823ee769ec45cc45a4.tar.xz zen-cf38d96543b2086a863ef4823ee769ec45cc45a4.zip | |
Handle HTTP port collisions when initializing server (#40)
Diffstat (limited to 'zenhttp/include')
| -rw-r--r-- | zenhttp/include/zenhttp/httpserver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/include/zenhttp/httpserver.h b/zenhttp/include/zenhttp/httpserver.h index 902310f04..545b96db2 100644 --- a/zenhttp/include/zenhttp/httpserver.h +++ b/zenhttp/include/zenhttp/httpserver.h @@ -169,7 +169,7 @@ class HttpServer : public RefCounted { public: virtual void RegisterService(HttpService& Service) = 0; - virtual void Initialize(int BasePort) = 0; + virtual int Initialize(int BasePort) = 0; virtual void Run(bool IsInteractiveSession) = 0; virtual void RequestExit() = 0; }; |