SPDY patch not applying cleanly.

Valentin V. Bartenev vbart at nginx.com
Mon Mar 11 02:17:36 UTC 2013


On Monday 11 March 2013 05:18:44 António P. P. Almeida wrote:
> On 11 Mar 2013 01h58 CET, vbart at nginx.com wrote:
> > You're probably doing something wrong. I've just checked it myself:
> I just reproduced all your commands below with the same result. I.e.,
> no clean application, with rejection of some hunks :(
> 

Please, verify the patch file:

% md5sum patch.spdy.txt 
a5cb5cb3fc8a8e04efb62b2f8f48a5ac  patch.spdy.txt

% shasum patch.spdy.txt 
1a9ffddffbde0812b67eaca91a22ff0aa17293cc  patch.spdy.txt

Also, note that "patch --dry-run" (or "patch -C" in BSD world) does
not work with multiple patches in one file.

  wbr, Valentin V. Bartenev

--
http://nginx.org/en/donation.html

> 
> > % wget -q http://nginx.org/download/nginx-1.3.14.tar.gz
> > % tar xzf nginx-1.3.14.tar.gz
> > % cd nginx-1.3.14
> > % wget -q http://nginx.org/patches/spdy/patch.spdy.txt
> > % patch -p1 < patch.spdy.txt
> > patching file src/http/ngx_http_request.c
> > patching file src/http/ngx_http_request.c
> > patching file src/http/ngx_http_request.c
> > patching file src/core/ngx_connection.c
> > patching file src/core/ngx_connection.h
> > patching file src/http/ngx_http_request.c
> > patching file src/http/ngx_http_upstream.c
> > patching file src/http/ngx_http_request.c
> > patching file src/http/ngx_http_request.h
> > patching file src/http/modules/ngx_http_ssl_module.c
> > patching file src/http/modules/ngx_http_gzip_filter_module.c
> > patching file src/http/ngx_http_request.c
> > patching file src/core/ngx_connection.c
> > patching file src/event/ngx_event.c
> > patching file src/event/ngx_event.h
> > patching file src/http/modules/ngx_http_stub_status_module.c
> > patching file auto/modules
> > patching file auto/options
> > patching file auto/sources
> > patching file src/http/modules/ngx_http_ssl_module.c
> > patching file src/http/ngx_http.c
> > patching file src/http/ngx_http.h
> > patching file src/http/ngx_http_core_module.c
> > patching file src/http/ngx_http_core_module.h
> > patching file src/http/ngx_http_parse.c
> > patching file src/http/ngx_http_request.c
> > patching file src/http/ngx_http_request.h
> > patching file src/http/ngx_http_request_body.c
> > patching file src/http/ngx_http_spdy.c
> > patching file src/http/ngx_http_spdy.h
> > patching file src/http/ngx_http_spdy_filter_module.c
> > patching file src/http/ngx_http_spdy_module.c
> > patching file src/http/ngx_http_spdy_module.h
> > patching file src/http/ngx_http_upstream.c
> > 
> > No errors.
> > 
> > wbr, Valentin V. Bartenev
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx






More information about the nginx mailing list