-
-
Notifications
You must be signed in to change notification settings - Fork 461
Description
It looks like support existed at one point (#1), but the code has changed a lot since then, and it doesn't currently seem to be supported. It seems like it would support could be added by passing a proxy here: https://github.com/getsentry/raven-java/blob/fd5a44c11d851180909ab7fe8c23cc3dc7773617/raven/src/main/java/net/kencochrane/raven/connection/HttpConnection.java#L101 via https://docs.oracle.com/javase/7/docs/api/java/net/URL.html#openConnection(java.net.Proxy).
I'm envisioning that the proxy settings could be set as additional GET params on the DSN, e.g.: https://public:private@host:port/1?http_proxy_host=127.0.01&http_proxy_port=1234, but wanted to get feedback on this approach before submitting a pull request (which I am more than happy to do). Another approach could be modifying RavenFactory to add another constructor accepting the proxy arguments.
Please let me know if I'm missing something and that this is already supported.
/cc @mnussbaum