diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-09-14 13:43:34 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-09-14 13:43:34 +0000 |
| commit | 0680ac5e5ed2426ed01d735bca5fbb57d6c925bb (patch) | |
| tree | 0763565d76353f8a29f5bc2dddfaa7595bb88112 /src/Command.h | |
| parent | 81b2e6e1089f7765c246a7476df080db2f3499c6 (diff) | |
2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
If error event is received in epoll, then abort download
immediately.
* src/AbstractCommand.cc
* src/Command.cc
* src/Command.h
* src/DownloadEngine.cc
* src/PeerAbstractCommand.cc
Diffstat (limited to 'src/Command.h')
| -rw-r--r-- | src/Command.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Command.h b/src/Command.h index 772b916d..ffcdf83e 100644 --- a/src/Command.h +++ b/src/Command.h @@ -65,6 +65,7 @@ protected: bool _readEvent; bool _writeEvent; bool _errorEvent; + bool _hupEvent; public: Command(int32_t cuid); @@ -95,7 +96,9 @@ public: void writeEventReceived(); - void errorEventRecieved(); + void errorEventReceived(); + + void hupEventReceived(); void clearIOEvents(); }; |
