~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to lib/http_chunks.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20070516151654-x9nkigtr2j0i8d0v
Tags: upstream-7.16.2
ImportĀ upstreamĀ versionĀ 7.16.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: http_chunks.h,v 1.14 2005/07/12 18:15:34 bagder Exp $
 
23
 * $Id: http_chunks.h,v 1.15 2007-02-21 21:59:42 bagder Exp $
24
24
 ***************************************************************************/
25
25
/*
26
26
 * The longest possible hexadecimal number we support in a chunked transfer.
56
56
     CRLF combination marks the end of a chunk */
57
57
  CHUNK_POSTLF,
58
58
 
 
59
  /* Each Chunk body should end with a CRLF.  Read a CR and nothing else,
 
60
     then move to CHUNK_STOP */
 
61
  CHUNK_STOPCR,
 
62
 
59
63
  /* This is mainly used to really mark that we're out of the game.
60
64
     NOTE: that there's a 'dataleft' field in the struct that will tell how
61
65
     many bytes that were not passed to the client in the end of the last