eclipse / paho.mqtt.java

Eclipse Paho Java MQTT client library. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
2.08k stars 879 forks source link

Enable http proxy support for mqtt3 #1010

Open tg892580 opened 11 months ago

tg892580 commented 11 months ago

The code change allows Paho mqtt3 client which is running behind a http proxy is able to communicate to mqtt broker in outside world. If the Http Proxy is configured, the new code will establish a TCP tunnel between mqtt client and the http proxy first, so that any further mqtt traffic to the mqtt broker will be routed through the TCP tunnel to the http proxy, which then forwards the traffic to the mqtt broker.

Signed-off-by: Tony Guo tony.guo@broadcom.com

Please make sure that the following boxes are checked before submitting your Pull Request, thank you!

sagarheroor commented 6 months ago

@tg892580 & Others -- This patch has worked in our project, Can you please let me know if and when the patch will be merged for the release? Really appreciate your work on this patch.

tg892580 commented 6 months ago

I am glad that the patch helps your project. But I am not sure when the code will be released, we found the Paho code missing Http proxy support in our project and provided a solution, it is totally up to the Paho project team to review it and decide if the patch should be released.

On Wed, Jan 10, 2024 at 12:03 PM sagarheroor @.***> wrote:

@tg892580 https://github.com/tg892580 & Others -- This patch has worked in our project, Can you please let me know if and when the patch will be merged for the release? Really appreciate your work on this patch.

— Reply to this email directly, view it on GitHub https://github.com/eclipse/paho.mqtt.java/pull/1010#issuecomment-1885634308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNGCKXLNUR5ZHGRPTSVOOTYN3X25AVCNFSM6AAAAAA3QLZ7ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGYZTIMZQHA . You are receiving this because you were mentioned.Message ID: @.***>

-- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.

sagarheroor commented 6 months ago

ranjan.dasgupta@us.ibm.com> @rdasgupt -- I see most of the patches are merged by you.. Can you please help to merge this patch and release new version of paho library of java

tg892580 commented 6 months ago

No, that must be other person, I never merged any branch yet. Can you talk to the project admin for help?

Regards Tony

On Thu, Jan 11, 2024 at 7:53 PM sagarheroor @.***> wrote:

@.***> @rdasgupt https://github.com/rdasgupt -- I see most of the patches are merged by you.. Can you please help to merge this patch and release new version of paho library of java

— Reply to this email directly, view it on GitHub https://github.com/eclipse/paho.mqtt.java/pull/1010#issuecomment-1888393216, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNGCKXOXONYIEC4L2S6XPLYOCXT7AVCNFSM6AAAAAA3QLZ7ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBYGM4TGMRRGY . You are receiving this because you were mentioned.Message ID: @.***>

-- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.