http://qs321.pair.com?node_id=874403


in reply to Re: LWP UserAgent and Simple keeping headers in content
in thread LWP UserAgent and Simple keeping headers in content

Ah....potentially more info from me now!

Just tried a simple command line "get" and "getstore" and it all works ok. Just re-examined my code and I'm actually calling my "get" or "getstore" from within a thread.

Now I know threads can cause issues, but is this connected somehow? The "get" is just about working...but not quite completely working. The program isn't completely crashing out or anything...it's just not doing exactly what I think it should.

Could there be any specific reason why running a UserAgent "get" inside a thread causes it to store slightly different data compared to calling when not threading?....

fx, Infinity is Colourless