Jeffrey Crowell
462acc9eee
update version number in the config file
v1.9.32.1-beta
2014-09-17 11:10:56 -04:00
Jeffrey Crowell
4678a62be8
Fix config file based on trunk-tracking instead of master
2014-09-17 11:05:55 -04:00
Jeffrey Crowell
525e331c0c
Fix config file
...
Config was improperly merged from master, fixing.
2014-09-17 10:26:11 -04:00
Otto van der Schaaf
dc40c902ec
connection_read_handler: fix potential double free
...
In connection_read_handler(), make sure we act accordingly when
r->connection->error is set (indicating the the current request has
been finalized).
Reproduction of what happens when we don't: enable IPRO+SPDY, and
rapidly refresh a page with chrome. These rapid abortions will
eventually trigger a segfault/hang/misc bad behaviour.
2014-09-15 10:37:42 -04:00
Otto van der Schaaf
6a8a1c5bf7
IPRO: Fix a race in processing writes() from NgxBaseFetch
...
For FetchInPlaceResource, NgxBaseFetch would send two bytes down its
pipe, one upon HeaderComplete() and one upon HandleDone(). We need
only one to resume processing on the nginx side.
There is a race between ps_connection_read_handler() and processing
of the byte send by NgxBaseFetch::HandleDone().
ps_connection_read_handler() clears the pipe when the request is
finalized, and also drains it on each event - so two writes could be
processed as one when lucky, masking the problem).
One concrete problem this solved for me was that SPDY + IPRO +
proxy_pass would segfault, hang, and/or pass on 5xx/404 responses
from IPRO lookup fetches to the browser, next to alerts about
r->count being zero in nginx's error.log
Might fix https://github.com/pagespeed/ngx_pagespeed/issues/788
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/792
2014-09-12 10:59:16 -04:00
Jeffrey Crowell
5bcd9e277e
release: version 1.8.31.4 -> 1.9.32.1
2014-09-11 13:47:00 -04:00
Jeffrey Crowell
554577bbf2
Merge branch 'master' into HEAD
...
Preparing for 1.9.32.1 release
Conflicts:
config
src/ngx_pagespeed.cc
src/ngx_rewrite_driver_factory.h
src/ngx_rewrite_options.cc
test/nginx_system_test.sh
test/pagespeed_test.conf.template
2014-09-11 13:45:22 -04:00
Jeffrey Crowell
458a2f5236
Merge pull request #789 from gmszone/patch-1
...
Update config
2014-09-03 09:59:38 -04:00
Phodal Huang
71e89efc64
Update config
2014-09-02 13:49:49 +08:00
jmarantz
5a23347e64
Merge pull request #785 from pagespeed/jmarantz-error-option-format
...
Implement NgxServerContext::FormatOption so we can indicate nginx formatting in error messages
2014-08-29 16:32:43 -04:00
Joshua Marantz
7ce289346a
Override the method used to specify the format for conf files, so we can put an accurate error message in the admin GUI, and test it
2014-08-29 09:13:43 -04:00
jmarantz
6b4a9dc487
Merge pull request #784 from pagespeed/jmarantz-fgrep-for-counts
...
use fgrep for counting ".pagespeed."
2014-08-27 09:47:46 -04:00
Joshua Marantz
a3f2e4766c
use fgrep for counting ".pagespeed.", rather than grep with backslashed dot, which matches too much
2014-08-26 15:02:10 -04:00
jmarantz
ab0a5e4b65
Merge pull request #782 from pagespeed/jmarantz-start-test-resets-wget-args
...
Assume WGET_ARGS is cleared on every start_test
2014-08-23 13:20:34 -04:00
Joshua Marantz
a458a65d4e
Update system test to be compatible with a helper-script update that makes start_test clear WGET_ARGS, making test stanzas more independent
2014-08-20 12:59:04 -04:00
Jeff Kaufman
d00911b00f
Merge pull request #775 from pagespeed/jefftk-clearer-test-flake-error
...
testing: make it clearer why test flake in Issue #774 happens
2014-08-14 11:34:50 -04:00
Jeff Kaufman
ed80427ae6
Merge pull request #761 from pagespeed/jefftk-adding-comments
...
Add some comments and a few style fixes.
2014-08-14 10:29:22 -04:00
Jeff Kaufman
f556ca4926
Add some comments and a few style fixes.
2014-08-14 09:52:13 -04:00
Jeff Kaufman
cad618dff7
testing: make it clearer why test flake in Issue #774 happens
2014-08-13 13:53:22 -04:00
Jeff Kaufman
a906411367
Merge pull request #773 from pagespeed/jefftk-nginx-message-color
...
testing: direct port of r4146 to fix message color issue
2014-08-13 10:51:37 -04:00
Jeff Kaufman
e6c5bc1b2e
testing: direct port of r4146 to fix message color issue
2014-08-13 10:13:13 -04:00
Otto van der Schaaf
d6d3b90ea3
Merge pull request #769 from pagespeed/oschaaf-large-beacon-posts
...
beacon response body processing from temp file
2014-08-12 17:57:34 +02:00
Otto van der Schaaf
d7afd2acbc
beacon response body processing from temp file
...
Add support for processing beacon posts with data sizes that exceed
the default or configured client_body_buffer_size, plus a system test
to ensure it.
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/752
2014-08-12 07:46:30 +02:00
Maks Orlovich
05f6993801
Merge pull request #772 from pagespeed/morlovich-fix-metadata-form-test
...
Port over test adjustment.
This is just a straight port of relevant portion of https://code.google.com/p/modpagespeed/source/detail?r=4140
2014-08-11 16:45:32 -04:00
Maks Orlovich
fe63bbf53f
Port over test adjustment.
2014-08-11 16:26:20 -04:00
Otto van der Schaaf
c7aa72d9c5
Merge pull request #767 from pagespeed/oschaaf-issue-757
...
rewriting-posts: Support POST responses for html
2014-08-07 16:28:51 +02:00
Otto van der Schaaf
8f6bb0c9e3
rewriting-posts: Support POST responses for html
...
Allow rewriting html responses to POST requests
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/757
2014-08-07 16:02:23 +02:00
Otto van der Schaaf
84f2a1884e
Merge pull request #765 from pagespeed/oschaaf-trunk-tracking-script-support
...
script-variables: Support LoadFromFileXXX
2014-08-05 16:45:19 +02:00
Otto van der Schaaf
da83f73f19
script-variables: Support LoadFromFileXXX
...
Based on 75a4481 from master.
Add support for script variables in LoadFromFileXXX configuration to trunk-tracking,
which can be enabled by adding "pagespeed ProcessScriptVariables on" in
the http{} block.
Also adds a helpful comment to ps_dollar().
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/549
Docs: https://github.com/pagespeed/ngx_pagespeed/wiki/Script-variables-in-LoadFromFile-configuration
Resolved conflicts:
src/ngx_rewrite_driver_factory.h
src/ngx_rewrite_options.cc
test/nginx_system_test.sh
2014-08-05 00:51:07 +02:00
jmarantz
2bfc05b4c6
Merge pull request #763 from pagespeed/jmarantz-http-200-ok-function
...
use a new helper method to verify HTTP response codes are 200 OK
2014-08-04 11:00:03 -04:00
jmarantz
ea9e209687
Merge pull request #764 from pagespeed/jmarantz-systest-exit-on-error
...
Make script execute properly in the context of 'set -e'
2014-08-04 10:04:03 -04:00
Joshua Marantz
c073a3120b
remove debug comments
2014-08-04 10:02:31 -04:00
Joshua Marantz
5e3b2f23a5
Make script execute properly in the context of 'set -e'
2014-08-01 09:29:08 -04:00
Joshua Marantz
f41ecf4010
use a new helper method to verify HTTP response codes are 200 OK
2014-08-01 09:19:40 -04:00
Jeff Kaufman
34a62db9cf
Merge pull request #760 from pagespeed/sligocki-request-context-set-options
...
Set options for RequestContexts in ngx_pagespeed.
2014-07-30 09:53:00 -04:00
Jeffrey Crowell
b0efa9f982
Merge pull request #758 from pagespeed/crowell-debug-filter-safe-to-print
...
add safe_to_print on nginx rewrite options
2014-07-29 16:58:10 -04:00
Shawn Ligocki
fb00ac373b
Set options for RequestContexts in ngx_pagespeed.
2014-07-29 16:05:27 -04:00
Jeffrey Crowell
9550629768
add safe_to_print on nginx rewrite options
2014-07-29 14:58:06 -04:00
Shawn Ligocki
26a5deb341
Merge pull request #756 from pagespeed/sligocki-in-place-api-change
...
Fix InPlaceResourceRecorder constructor to remove two arguments passed in through options now.
2014-07-29 13:09:44 -04:00
Shawn Ligocki
7bcd5aadde
Fix InPlaceResourceRecorder constructor to remove two arguments passed in through options now.
2014-07-28 18:02:17 -04:00
Otto van der Schaaf
bbdfb5b429
Merge pull request #744 from pagespeed/oschaaf-double-location
...
location-header: tweak location header handling
2014-07-16 00:50:25 +02:00
matterbury
594ba13606
Merge pull request #751 from pagespeed/matterbury-unauthorized-debug
...
Test the new debug messages for unauthorized domains.
2014-07-09 14:40:24 -04:00
Matt Atterbury
9d0b896737
Test the new debug messages for unauthorized domains.
2014-07-08 09:17:06 -04:00
Jud Porter
89f6465288
Merge pull request #748 from pagespeed/jud-ipv6-smoke-test
...
Fix smoke test on systems with ipv6 localhost
2014-07-02 13:37:23 -04:00
Jud Porter
eb11cfe0cf
Add ipv6 listen directives to smoke test config server blocks.
2014-07-02 10:57:40 -04:00
Jud Porter
7a0e45d025
Ignore "Hostname was NOT found in DNS cache" message generated by more recent versions of curl.
2014-07-02 10:49:23 -04:00
jmarantz
3cf731ee24
Merge pull request #743 from pagespeed/jmarantz-nginx-purge-method
...
Fix PURGE method support and testing to ngx_pagespeed
2014-07-01 17:44:38 -04:00
Joshua Marantz
1a4ffcf335
Fix PURGE method support and testing to ngx_pagespeed
2014-06-30 09:49:10 -04:00
Jeff Kaufman
72c7e584f7
Merge pull request #740 from pagespeed/jefftk-unused-function
...
Remove unused function. Fixes #739 .
2014-06-30 11:26:07 +01:00
Otto van der Schaaf
1f02f368e1
location-header: tweak location header handling
...
- Fix potentially sending the location header into PSOL twice.
- Be more thorough when unsetting the location header
Attempts to fix https://github.com/pagespeed/ngx_pagespeed/issues/725
2014-06-30 00:54:58 +02:00