~ubuntu-branches/ubuntu/hardy/lighttpd/hardy-updates

« back to all changes in this revision

Viewing changes to src/http_chunk.c

  • Committer: Bazaar Package Importer
  • Author(s): Lukas Fittl
  • Date: 2006-10-10 13:57:38 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061010135738-gn4pp1ut1s1g27pb
Tags: 1.4.13~r1370-1ubuntu1
* Merge from Debian unstable (Closes: Malone #64900). Remaining changes:
  - Add an additional dependency on libterm-readline-perl-perl
    (Malone #43895)

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
        
101
101
        if (len == 0) {
102
102
                if (con->response.transfer_encoding & HTTP_TRANSFER_ENCODING_CHUNKED) {
103
 
                        http_chunk_append_len(srv, con, 0);
104
 
                        chunkqueue_append_mem(cq, "\r\n", 2 + 1);
 
103
                        chunkqueue_append_mem(cq, "0\r\n\r\n", 5 + 1);
105
104
                } else {
106
105
                        chunkqueue_append_mem(cq, "", 1);
107
106
                }