TTransportException's thrown from THttpClient contain superfluous slashes in 
the Exception message
--------------------------------------------------------------------------------------------------

                 Key: THRIFT-1393
                 URL: https://issues.apache.org/jira/browse/THRIFT-1393
             Project: Thrift
          Issue Type: Bug
          Components: PHP - Library
    Affects Versions: 0.9
            Reporter: Nick Jones
            Priority: Trivial


This is a very minor issue, but should be addressed nonetheless.

The THttpClient class ensures the $uri_ property has a slash prefixed by 
appending one if needed in the constructor. However in THttpClient::read, there 
are 2 exceptions thrown where a slash is concatenated between the port and uri. 
This results in a superfluous slash in the TTransportException message.

Example:
"THttpClient: Could not read 184549154 bytes from xxx.yyy.com:80//randomService"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to