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

Added ability to set proxy to http #570

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ormus2002
Copy link

No description provided.

@ormus2002
Copy link
Author

Added proxy #208

@@ -6,6 +6,7 @@ def initialize(app, delivery_class, _options = {})
@app = app
@delivery_class = delivery_class
@http = Net::HTTP::Persistent.new(name: 'rpush')
@http.proxy = Rpush.config.proxy if Rpush.config.proxy.present?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only applies to HTTP dispatchers, and does not contemplate APNSv2/p8. Could you maybe add it to those dispatchers also?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry but I didn't use APNS, so I cannot test it

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would a spec not be enough to create confidence in its functionality?

@stale
Copy link

stale bot commented Oct 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please leave another comment. This issue will be closed if no further activity occurs.
Thank you for all your contributions!

@stale stale bot added the stale label Oct 2, 2021
@aried3r aried3r removed the stale label Oct 8, 2021
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 this pull request may close these issues.

None yet

3 participants