diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-30 00:50:14 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-30 00:50:14 +0900 |
| commit | 90515dfa50c676df37f440893de6e344fbfd2cdc (patch) | |
| tree | 257d86e0614b6eb0ea8e9384af3269d60a53dbbc /src/AbstractHttpServerResponseCommand.h | |
| parent | 4b94ede268ff2ff793b22a0730dcbda09d280618 (diff) | |
RPC over SSL/TLS transport
To enable RPC over SSL/TLS, specify server certificate and private key
using --rpc-certificate and --rpc-private-key options and enable
--rpc-secure option. After the encryption is enabled, use https and
wss scheme to access RPC server.
Diffstat (limited to 'src/AbstractHttpServerResponseCommand.h')
| -rw-r--r-- | src/AbstractHttpServerResponseCommand.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/AbstractHttpServerResponseCommand.h b/src/AbstractHttpServerResponseCommand.h index 7dbc71dd..652d6b05 100644 --- a/src/AbstractHttpServerResponseCommand.h +++ b/src/AbstractHttpServerResponseCommand.h @@ -51,6 +51,10 @@ private: SharedHandle<SocketCore> socket_; SharedHandle<HttpServer> httpServer_; Timer timeoutTimer_; + bool readCheck_; + bool writeCheck_; + + void updateReadWriteCheck(); protected: DownloadEngine* getDownloadEngine() { @@ -66,10 +70,10 @@ public: const SharedHandle<SocketCore>& socket); virtual ~AbstractHttpServerResponseCommand(); - + virtual bool execute(); }; -} // namespace aria2 +} // namespace aria2 #endif // D_ABSTRACT_HTTP_SERVER_RESPONSE_COMMAND_H |
