[ 
https://issues.apache.org/jira/browse/THRIFT-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jake Farrell closed THRIFT-1393.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8
         Assignee: Nick Jones

Committed
                
> 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.8
>            Reporter: Nick Jones
>            Assignee: Nick Jones
>            Priority: Trivial
>             Fix For: 0.8
>
>         Attachments: exception.patch
>
>
> 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