| dazjorz | GET / HTTP/1.1 Host: unf.be that's a valid request |
| sili | dazjorz: i'll try it, but I get the same kind of behavior when I tell firefox to use the proxy yup, same behavior |
| dazjorz | sili: well, I have no idea... |
| dunstabulos | sili: redirection from / to /index.htm? |
| sili | nah |
| dunstabulos | sili: try using the store and forward and see what the difference is? it's possible that http proxy is feeding you the body in chunks, implied by HTTP::Proxy implements a store and forward mechanism, for those filters which need to have the whole message body to work. It's enabled simply by pushing the HTTP::Proxy::BodyFilter::complete filter on the filter stack. from the pod page |
| sili | ah, missed that |
| action | sili tries stuff |
| sili | tries stuff |
| action | dunstabulos reasons that it is not worth learning things when you can google for the answer more easily |
| dunstabulos | reasons that it is not worth learning things when you can google for the answer more easily |
| sili | dunstabulos: I pushed that filter to the stack, but it's still acting the same I hate life |
| dazjorz | dunstabulos: I wish my teachers would know that. sili: Data::Dumper::Dumper @_ ? to see if there's a clue? |
| dunstabulos | sili: no idea. is it passing the whole set of data from the page each time, or 3 chunks of it? sili, you are adding the complete filter before your one, right? |
| sili | dunstabulos: ya, you can see the code at http://unf.be/~sili/proxy/ |
| Dozzy | lalalala |
| sili | dunstabulos: dazjorz it looks like the first two times it gets called, the $dataref references an empty string |
| dazjorz | sili: Maybe you can find something in HTTP::Proxy about it, or just return if($$dataref eq ""); |
| sili | I did that 'return if' and it seems to be partially functioning. i guess I'm gonna have to read the source I thought this was gonna be easy :| |
| dunstabulos | sili: good luck, let us know if you fix it |
| action | CPAN upload: Memoize-Attrs-0.00_02 by FERREIRA |
| CPAN | upload: Memoize-Attrs-0.00_02 by FERREIRA |
| action | f00li5h meows |
| f00li5h | meows |
| T-1 | boing |
| Dozzy | boing boing |
| hobbs | boeing boeing |
| dazjorz | boing boing boing? boing boeing *crash* |
| T-1 | die; #? |
| action | dazjorz Error: Died at #perl line T-1 |
| dazjorz | Error: Died at #perl line T-1 |