http://www.perlmonks.org?node_id=1020649


in reply to Re^3: Unable to Install HTTP::Proxy
in thread Unable to Install HTTP::Proxy

...

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();

Replies are listed 'Best First'.
Re^5: Unable to Install HTTP::Proxy
by BrowserUk (Patriarch) on Feb 26, 2013 at 10:16 UTC

    I did try it years ago under 5.8.something. It was totally unreliable under any load.

    I had a go at fixing it and eventually decided it was beyond fixing and sought an alternative solution.


    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.

      I did try it years ago under 5.8.something. It was totally unreliable under any load.

      What does that mean?

      I had a go at fixing it and eventually decided it was beyond fixing and sought an alternative solution.

      What solution?

        What does that mean?

        Exactly what it says!


        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.
Re^5: Unable to Install HTTP::Proxy
by karlgoethebier (Abbot) on Feb 26, 2013 at 10:28 UTC
    "...try it yourself"

    OK, why not. This is always the best. But it only works like this:

    cpan>notest force install HTTP::Proxy::Engine::NoFork .... Appending installation info to C:\Perl\lib/perllocal.pod BOOK/HTTP-Proxy-0.26.tar.gz C:\Perl\site\bin\dmake.exe install -- OK

    Without notest force it freezes.

    Perl is v5.14.2 (ActivePerl) on XP SP3.

    It seem to work...

    Regards,Karl

    «The Crux of the Biscuit is the Apostrophe»

      It seem to work...

      Now set a copy of it running and go into your browser and configure it to use the proxy.

      Then go to somewhere like youtube and navigate your way around a bit; watch a couple of videos and stuff. Still working?

      The try your favorite ajax-heavy site -- gmail or similar. Still working?


      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.
        "Still working?"

        Yet another good question. I'll try this.

        Regards, Karl

        «The Crux of the Biscuit is the Apostrophe»

        "Still working?"

        Not really. youtube works as well as heise.

        But telekom is broken.

        Very often i get [Tue Feb 26 12:29:10 2013] (1080) ERROR: Getting request failed: Client closed from the proxy script and a message in firefox that the proxy rejects that connection - from a arbitrary page.

        And performance is bad. It seems that it lasts very much longer that a page is rendered as without the proxy.

        #!c:/perl/bin/perl.exe use strict; use warnings; use HTTP::Proxy; my $proxy = HTTP::Proxy->new(); $proxy->port(3128); $proxy->start;

        Best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»