Open GoogleCodeExporter opened 8 years ago
Howdy,
It isn't easy to fix the URL length at the moment. For a few reasons:
* there's a few places where static local buffers on the stack are used
* the 4k limit appears in other places - eg the in-memory buffer page size
(stmem);
the size that data is read back from the store
Bumping up the URL length without bumping up the others may cause subtle weird
issues
and I don't want to have to find/fix those just for now. Instead, I'd rather
work on
tidying up the store client / store memory cache code so it can handle arbitrary
sized buffers and URLs/headers which span >1 buffer; then just allow the URL
length
to be dynamic (with a max limit configured at runtime.)
But thanks for bringing this up. I'll start brain dumping exactly what needs to
happen in the code for this issue to go away so I/others have something to work
towards.
Original comment by adrian.c...@gmail.com
on 13 Apr 2010 at 12:44
and so many site with big url, espeicaly if use damn seo manipulation,
my cache.log
2010/04/13 00:46:03| parseHttpRequest: URL too big (4556) chars:
/action/dwq.htm?ptx
blah blah blah (more 4192 character)
2010/04/13 00:46:03| clientTryParseRequest: FD 48 (10.10.10.13:3966) Invalid
Request
exmaple: try url http://oktavita.com/gudang-musik-mp3.htm
Original comment by tembokg...@gmail.com
on 13 Apr 2010 at 1:06
[deleted comment]
running lusca-r14724 i got the same problems/message @cache.log, the old issue
which not harmful but so annoying..
2010/07/10 22:20:27| parseHttpRequest: URL too big (4890) chars:
/onAdView.php?ws=ec2-204-236-211-62.compute-1.amazonaws.com&vd=FSqFVW8NVW2LNqK6K
ge9K5GV9NjNA-zL9rnOQgAJH6oc4_Z77wDCa0WkX4vWxclyB__F0cwJDFVGfQOXGfF9dKpMKNtm7v-jB
jCoGZr4and61WYlqX4j0-PdiDqqs2RSe9ReRH0PlFL8na5PW8DImogfEWi5Jd3z7hnVKwL6WyKGYyet9
sl1840nRrFfveKOYQRS1jZlIUKfAEeAn29hC-SOt4Oam7TsBjWgXbkafs-jcMUlFbaRXbCb4u34rfJis
fjibVzi_G4AXLlRFe7CHu_BSjVYJL-rd_aeuPI9Rt0YLBYebb1XLSvzBQxpoR1yd-Ehfde_i_OghvZ35
83IIYrZlsWOyMLX8na0qeMTpgUxWcEV98GJnC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Fn9C4bMd-uVGPmNK-vwWQBNNkaJF
5TVGtiy-DSsc9mOJu68ic7VDsAgMD3X9nFegFqkmNMvihybfSAQI1byFhFaDdQVLG2lAJZfRBu3n81gZ
NS4=&iv=hh0XgK5HjBC0uVdzvbDJ1w==|TcEvsKjrpFupAt3rQTfCwg==&vt=634143540127749300&
pid=355193
Original comment by hends...@gmail.com
on 12 Jul 2010 at 3:28
As I've said, I'd love to fix this but any naive fix risks doing rather nasty
crap to the rest of the codebase. I'd rather leave the naive fix alone for now,
tidy up the rest of the codebase and be prepared for user-configurable URL
lengths later on.
Original comment by adrian.c...@gmail.com
on 13 Jul 2010 at 4:19
up the old issue.. :)
Original comment by hends...@gmail.com
on 25 Nov 2010 at 11:36
ini apaan to ?
Original comment by awmarke...@gmail.com
on 31 Jul 2012 at 10:06
Any solution? ta hard to find any solution on the internet. And the problem
this presented quite the facebook.
Original comment by franklin...@gmail.com
on 9 May 2013 at 9:15
Original issue reported on code.google.com by
pyroma...@gmail.com
on 12 Apr 2010 at 9:25