See <http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/2162/changes>
Changes: [Amos Jeffries] Add kv-pair support to url_rewrite_helper interface This stage of the helper reply protocol adds kv-pair support to the url_rewrite_helper interfacefor URL redirect and rewrite operations. It uses the new Notes objects and kv-pair field added by the stage 2 helper protocol instead of parsing the 'other' field. Although, the 'other' field is still parsed when *no* result field is received for backward compatibility with older helpers. The response syntax for URL helpers becomes: [channel-ID SP] result [SP kv-pair ...] [SP other] EOL NP: 'other' field is now deprecated and will be ignored/discarded on any response containing a result code field. When result code "OK" is presented by the helper several kv-pairs are reserved to control Squid actions: * "rewrite-url=" is added to return a re-written URL. - When this key is presented the URL is re-written to the new one by Squid without client interaction. - The 'url' keys presence will override this key. * "url=" is added to return the redirected-to URL. - When this key name is presented an HTTP redirect response is generated for the client. - This keys presence overrides the 'rewrite-url' key actions. * "status=" is added to hold the HTTP status code for use in redirect operations. - This field is optional and status is no longer required for marking redirect actions. - If no redirect status is provided Squid will assign one (currently the default is 302, that may change in the future). - This key is only relevant when 'url' key is also presented. In all other uses it is currently ignored. When result codes BH or ERR are presented by the helper no redirect or rewrite action is performed and no kv-pair key names are reserved for use at this time. Any other keys MAY be sent on any response. The URL helper interface makes no other use of them, but this patch does pass them on to the ALE object for logging as transaction Notes. All kv-pairs returned by the helper (including the url, stauts rewrite-url keys) are available for logging via the %{...}note log format option. As with changes to other helpers interfaces in earlier updates, only the first value presented for any of the reserved kv-pairs is used. Multiple values are accepted as notes, but otherwise ignored by Squid and do not affect the transaction outcome. Additionally, when the BH result code is received from the helper a simple recovery is attempted. The lookup request will be re-scheduled (up to once) in an attempt to find a better responding helper. NOTE: Helper notes are *not* passed to adaptation interfaces. - REQMOD adaptation happens before URL helpers are used. - REPMOD adaptation may at some point receive them, but that change is not done by this update. This update was sponsored by Edgewave. ------------------------------------------ [...truncated 7841 lines...] 373b802000-373ba01000 ---p 00002000 fd:00 130496 /lib64/libcom_err.so.2.1 373ba01000-373ba02000 rw-p 00001000 fd:00 130496 /lib64/libcom_err.so.2.1 373bc00000-373bc02000 r-xp 00000000 fd:00 130495 /lib64/libkeyutils-1.2.so 373bc02000-373be01000 ---p 00002000 fd:00 130495 /lib64/libkeyutils-1.2.so 373be01000-373be02000 rw-p 00001000 fd:00 130495 /lib64/libkeyutils-1.2.so 373c000000-373c02c000 r-xp 00000000 fd:00 244769 /usr/lib64/libgssapi_krb5.so.2.2 373c02c000-373c22c000 ---p 0002c000 fd:00 244769 /usr/lib64/libgssapi_krb5.so.2.2 373c22c000-373c22e000 rw-p 0002c000 fd:00 244769 /usr/lib64/libgssapi_krb5.so.2.2 373c400000-373c424000 r-xp 00000000 fd:00 244767 /usr/lib64/libk5crypto.so.3.1 373c424000-373c623000 ---p 00024000 fd:00 244767 /usr/lib64/libk5crypto.so.3.1 373c623000-373c625000 rw-p 00023000 fd:00 244767 /usr/lib64/libk5crypto.so.3.1 373c800000-373c808000 r-xp 00000000 fd:00 235112 /usr/lib64/libkrb5support.so.0.1 373c808000-373ca07000 ---p 00008000 fd:00 235112 /usr/lib64/libkrb5support.so.0.1 373ca07000-373ca08000 rw-p 00007000 fd:00 235112 /usr/lib64/libkrb5support.so.0.1 373cc00000-373cc91000 r-xp 00000000 fd:00 244768 /usr/lib64/libkrb5.so.3.3 373cc91000-373ce91000 ---p 00091000 fd:00 244768 /usr/lib64/libkrb5.so.3.3 373ce91000-373ce95000 rw-p 00091000 fd:00 244768 /usr/lib64/libkrb5.so.3.3 2b60f3c5b000-2b60f3c5d000 rw-p 2b60f3c5b000 00:00 0 2b60f3c6f000-2b60f3cb9000 r-xp 00000000 fd:00 240454 /usr/lib64/libcppunit-1.12.so.1.0.0 2b60f3cb9000-2b60f3eb9000 ---p 0004a000 fd:00 240454 /usr/lib64/libcppunit-1.12.so.1.0.0 2b60f3eb9000-2b60f3ebc000 rw-p 0004a000 fd:00 240454 /usr/lib64/libcppunit-1.12.so.1.0.0 2b60f3ebc000-2b60f3f06000 rw-p 2b60f3ebc000 00:00 0 7fffa6d38000-7fffa6d4e000 rw-p 7ffffffe8000 00:00 0 [stack] 7fffa6dfc000-7fffa6e00000 r-xp 7fffa6dfc000 00:00 0 [vdso] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vsyscall] ..../bin/sh: line 4: 13866 Aborted ${dir}$tst FAIL: tests/testHttpRequest SKIP: cache_cf.cc operator void* (not implemented). ........... OK (11) PASS: tests/testStore .... OK (4) PASS: tests/testString stub time| persistent connection module initialized .......... OK (10) PASS: tests/testURL . OK (1) PASS: tests/testConfigParser ... OK (3) PASS: tests/testStatHist SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: StatHist.cc enumInit (not implemented). SKIP: tools.cc UsingSmp (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: tools.cc UsingSmp (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: cache_cf.cc operator void* (not implemented). SKIP: tools.cc UsingSmp (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: tools.cc UsingSmp (not implemented). SKIP: stub_store_rebuild.cc storeRebuildComplete (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: tools.cc InDaemonMode (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). SKIP: StatHist.cc count (not implemented). .. OK (2) PASS: tests/testRock SKIP: cache_cf.cc operator void* (not implemented). SKIP: stub_store_rebuild.cc storeRebuildComplete (not implemented). .. OK (2) PASS: tests/testUfs PASS: testRefCount PASS: testHeaders ================================================= 1 of 19 tests failed Please report to http://www.squid-cache.org/bugs/ ================================================= make[5]: *** [check-TESTS] Error 1 make[5]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'> make[4]: *** [check-am] Error 2 make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'> make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'> make[2]: *** [check] Error 2 make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'> make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'> make: *** [distcheck] Error 2 buildtest.sh result is 2 BUILD: .././test-suite/buildtests/layer-00-default.opts configure: BUILD LIBRARIES: configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lrt -ldl -ldl configure: BUILD OBJECTS: configure: BUILD EXTRA OBJECTS: configure: BUILD C FLAGS: -Wall -g -O2 configure: BUILD EXTRA C FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -pipe -D_REENTRANT configure: BUILD C++ FLAGS: -g -O2 configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT configure: BUILD LIBRARIES: configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lrt -ldl -ldl configure: BUILD OBJECTS: configure: BUILD EXTRA OBJECTS: configure: BUILD C FLAGS: -Wall -g -O2 configure: BUILD EXTRA C FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -pipe -D_REENTRANT configure: BUILD C++ FLAGS: -g -O2 configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT FAIL: tests/testHttpRequest make[5]: *** [check-TESTS] Error 1 make[4]: *** [check-am] Error 2 make[3]: *** [check-recursive] Error 1 make[2]: *** [check] Error 2 make[1]: *** [check-recursive] Error 1 make: *** [distcheck] Error 2 Build FAILED. Build step 'Execute shell' marked build as failure