You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/03/27 01:58:54 UTC

[GitHub] rdhabalia opened a new pull request #1451: Fix: NPE on http-lookup redirection

rdhabalia opened a new pull request #1451: Fix: NPE on http-lookup redirection
URL: https://github.com/apache/incubator-pulsar/pull/1451
 
 
   ### Motivation
   
   - If broker has TLS enabled and broker's TLS url is not setup then http-redirection throws NPE.
   - Also, broker should consider http-request's protocol (http/https) while redirecting to another cluster. Right now, if broker's TLS is enabled then it tries to redirect to HTTPS url even if request is made on HTTP.
   
   ### Modifications
   
   Handle NPE and http-request's protocol.
   
   ### Result
   
   - Broker will not throw NPE while http redirection
   - Broker will redirect to another cluster's service url based on request's protocol.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services