Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 299329 Details for
Bug 393683
www-servers/varnish-3.0.2 log '%r' format specifier returns the wrong info
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to remove protocol and host from %r.
varnishncsa_fix_r.patch (text/plain), 703 bytes, created by
jon
on 2012-01-19 19:17:40 UTC
(
hide
)
Description:
Patch to remove protocol and host from %r.
Filename:
MIME Type:
Creator:
jon
Created:
2012-01-19 19:17:40 UTC
Size:
703 bytes
patch
obsolete
>diff -ru varnish-3.0.2-org/bin/varnishncsa/varnishncsa.c varnish-3.0.2/bin/varnishncsa/varnishncsa.c >--- varnish-3.0.2-org/bin/varnishncsa/varnishncsa.c 2011-10-24 00:25:09.000000000 -0700 >+++ varnish-3.0.2/bin/varnishncsa/varnishncsa.c 2012-01-19 11:12:33.000000000 -0800 >@@ -628,13 +628,6 @@ > */ > VSB_cat(os, lp->df_m ? lp->df_m : "-"); > VSB_putc(os, ' '); >- if (req_header(lp, "Host")) { >- if (strncmp(req_header(lp, "Host"), "http://", 7) != 0) >- VSB_cat(os, "http://"); >- VSB_cat(os, req_header(lp, "Host")); >- } else { >- VSB_cat(os, "http://localhost"); >- } > VSB_cat(os, lp->df_U ? lp->df_U : "-"); > VSB_cat(os, lp->df_q ? lp->df_q : ""); > VSB_putc(os, ' ');
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 393683
: 299329