summaryrefslogtreecommitdiff
path: root/cmps/serverlib/include/HTTPMediaResponse.h
diff options
context:
space:
mode:
authorgeronimo <geronimo013@gmx.de>2012-07-27 07:18:23 +0200
committergeronimo <geronimo013@gmx.de>2012-07-27 07:18:23 +0200
commitd2769982da50332c9354344e2e196f581f7d888b (patch)
tree3986f5c953af85dafebc27fbcb1f6af28cfda49f /cmps/serverlib/include/HTTPMediaResponse.h
parent37dc743591dee0e4326d0100a41f725d4704faf3 (diff)
downloadcmp-d2769982da50332c9354344e2e196f581f7d888b.tar.gz
cmp-d2769982da50332c9354344e2e196f581f7d888b.tar.bz2
remove yajl dependency, handle connection abort if client closes connection during play
Diffstat (limited to 'cmps/serverlib/include/HTTPMediaResponse.h')
-rw-r--r--cmps/serverlib/include/HTTPMediaResponse.h4
1 files changed, 4 insertions, 0 deletions
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 */