Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Unable to Install HTTP::Proxy

by BrowserUk (Pope)
on Feb 26, 2013 at 09:03 UTC ( #1020639=note: print w/ replies, xml ) Need Help??


in reply to Unable to Install HTTP::Proxy

From the HTTP proxy POD:

This module does not work under Windows, but I can't see why, and do not have a development platform under that system. Patches and explanations very welcome. I guess it is because fork() is not well supported.

Despite Perl's windows fork emulation, *nix forking idioms do not port easily or well to Windows. It is unlikely there will be a fix for this any time soon.

If you are using Windows, you need to look for a different solution to your proxying needs.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: Unable to Install HTTP::Proxy
Re^2: Unable to Install HTTP::Proxy
by Anonymous Monk on Feb 26, 2013 at 09:10 UTC
      read the rest of that paragraph,

      Hm. That paragraph open with "Doesn't work on Windows"; and finishes with "let me know if it works any better".

      That inspires no confidence.

      try it for yourself

      Have you tried it under Windows? If the answer is yes, then I'd suggest you contact the author and have him update that paragraph.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        ...

        Get some sleep or try it yourself?

        The documentation says

        However, David Fishburn says: This did not work for me under WinXP - ActiveState Perl 5.6, but it DOES work on WinXP ActiveState Perl 5.8.

        I haven't tried HTTP::Proxy::Engine::Threaded which uses threads and not fork

        But yes, I've check that it works, my notes

        it works, but make sure when you switch firefox in options+advanced+network+manual proxy, to remove localhost from the "no proxy for" list

        Alt+Tools
        - Advanced
        - Network
        - Connection Settings
        - Manual proxy configuration:
        No proxy for: localhost, 127.0.0.1
        
        
        about:config
        network.proxy.http;localhost
        network.proxy.http_port;8080
        network.proxy.type;1
        network.proxy.no_proxies_on;localhost, 127.0.0.1
        
        $ cat http_traffic $agent->get('http://search.cpan.org/'); $agent->form_name('f'); $agent->field('query', 'shoes my clown'); $agent->field('mode', 'all'); $agent->click();

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020639]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-08-21 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (135 votes), past polls