From d2769982da50332c9354344e2e196f581f7d888b Mon Sep 17 00:00:00 2001 From: geronimo Date: Fri, 27 Jul 2012 07:18:23 +0200 Subject: remove yajl dependency, handle connection abort if client closes connection during play --- cmps/serverlib/include/HTTPMediaResponse.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmps/serverlib/include/HTTPMediaResponse.h') diff --git a/cmps/serverlib/include/HTTPMediaResponse.h b/cmps/serverlib/include/HTTPMediaResponse.h index 298f43c..40830c4 100644 --- a/cmps/serverlib/include/HTTPMediaResponse.h +++ b/cmps/serverlib/include/HTTPMediaResponse.h @@ -35,8 +35,12 @@ public: virtual size_t ReadContentChunk(char *Buf, size_t bufSize); +protected: + virtual void HandleAbort(void); + private: cAbstractMedia *media; + friend class cConnectionHandler; }; #endif /* HTTPMEDIARESPONSE_H */ -- cgit v1.2.3