~ubuntu-branches/ubuntu/precise/nordugrid-arc/precise

« back to all changes in this revision

Viewing changes to src/hed/mcc/http/PayloadHTTP.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-03-01 19:48:16 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120301194816-m1ezrwnwt2qgnc2e
Tags: 1.1.1-1
* 1.1.1 Bugfix Release
* Fixes FTBFS (Closes: #661774) (LP: #935007)
* Fix typo in package description (Closes: #646979)
* Split binary rule in debian/rules for arch and indep

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#include <stdint.h>
9
9
#endif
10
10
 
 
11
#include <arc/Logger.h>
11
12
#include <arc/message/PayloadRaw.h>
12
13
#include <arc/message/PayloadStream.h>
13
14
 
26
27
  for including as payload into Message passed through MCC chains. */
27
28
class PayloadHTTP: virtual public PayloadRaw, virtual public PayloadStreamInterface {
28
29
 protected:
 
30
  static Arc::Logger logger;
29
31
  typedef enum {
30
32
    MULTIPART_NONE = 0,
31
33
    MULTIPART_START,
62
64
  int64_t length_;                 /** Content-length of HTTP message */
63
65
  //int offset_;                   /** Logical beginning of content computed from Content-Range */
64
66
  //int size_;                     /** Logical size of content obtained from Content-Range */
 
67
  int64_t end_;                    /** Logical end of content computed from Content-Range */
65
68
  chunked_t chunked_;              /** chunked encoding parsing state */
66
69
  int64_t chunk_size_;
67
70
  bool keep_alive_;                /** true if conection should not be closed after response */