~ubuntu-branches/ubuntu/hardy/nginx/hardy-backports

« back to all changes in this revision

Viewing changes to src/http/modules/ngx_http_empty_gif_module.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-12-21 22:25:43 UTC
  • mfrom: (11.1.10 jaunty)
  • Revision ID: james.westby@ubuntu.com-20081221222543-44yu0i65ni6evses
Tags: 0.6.34-2ubuntu1~hardy1
* Source-level backport from jaunty to hardy of nginx (LP: #260640)
* debian/control:
  - Lowered lsb dependency to 3.2-4ubuntu1
* debian/init.d:
  - Removed usage of status_of_proc() to suite lower lsb

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
        return NGX_HTTP_NOT_ALLOWED;
117
117
    }
118
118
 
119
 
    rc = ngx_http_discard_body(r);
 
119
    rc = ngx_http_discard_request_body(r);
120
120
 
121
 
    if (rc != NGX_OK && rc != NGX_AGAIN) {
 
121
    if (rc != NGX_OK) {
122
122
        return rc;
123
123
    }
124
124