Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy support missing #10

Open
tdehesse opened this issue Nov 26, 2020 · 0 comments · May be fixed by #13
Open

proxy support missing #10

tdehesse opened this issue Nov 26, 2020 · 0 comments · May be fixed by #13

Comments

@tdehesse
Copy link

module does not work for me behind a proxy (when ENV variables set for https_proxy etc)

fix:

$ diff -u /tmp/AnyEvent-SlackRTM-1.1/lib/AnyEvent/SlackRTM.pm lib/perl5/AnyEvent/SlackRTM.pm
--- /tmp/AnyEvent-SlackRTM-1.1/lib/AnyEvent/SlackRTM.pm 2019-10-04 05:01:17.000000000 +1000
+++ lib/perl5/AnyEvent/SlackRTM.pm      2020-11-26 14:41:42.432644470 +1100
@@ -45,6 +45,8 @@
         agent => "AnyEvent::SlackRTM/$VERSION",
     );

+    $furl->env_proxy();
+
     my $res = $furl->get($START_URL . '?token=' . $self->{token});
     my $start = try {
         decode_json($res->content);
@afresh1 afresh1 linked a pull request Dec 17, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant