You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Rush Manbert (JIRA)" <ji...@apache.org> on 2009/04/14 00:08:14 UTC

[jira] Created: (THRIFT-456) Bad IP address string in test/cpp/src/main.cpp

Bad IP address string in test/cpp/src/main.cpp
----------------------------------------------

                 Key: THRIFT-456
                 URL: https://issues.apache.org/jira/browse/THRIFT-456
             Project: Thrift
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 0.1
            Reporter: Rush Manbert


This file contains the line:

     shared_ptr<TSocket> socket(new TSocket("127.0.01", port));

which has an invalid IP address string. It should be changed to:

     shared_ptr<TSocket> socket(new TSocket("127.0.0.1", port));

In its current state, this causes the test to get a runtime error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (THRIFT-456) Bad IP address string in test/cpp/src/main.cpp

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-456.
--------------------------------

         Assignee: Rush Manbert
    Fix Version/s: 0.5
       Resolution: Fixed

I just committed this.

> Bad IP address string in test/cpp/src/main.cpp
> ----------------------------------------------
>
>                 Key: THRIFT-456
>                 URL: https://issues.apache.org/jira/browse/THRIFT-456
>             Project: Thrift
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 0.1
>            Reporter: Rush Manbert
>            Assignee: Rush Manbert
>             Fix For: 0.5
>
>         Attachments: patch.txt
>
>
> This file contains the line:
>      shared_ptr<TSocket> socket(new TSocket("127.0.01", port));
> which has an invalid IP address string. It should be changed to:
>      shared_ptr<TSocket> socket(new TSocket("127.0.0.1", port));
> In its current state, this causes the test to get a runtime error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-456) Bad IP address string in test/cpp/src/main.cpp

Posted by "Rush Manbert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rush Manbert updated THRIFT-456:
--------------------------------

    Attachment: patch.txt

Patch file.

> Bad IP address string in test/cpp/src/main.cpp
> ----------------------------------------------
>
>                 Key: THRIFT-456
>                 URL: https://issues.apache.org/jira/browse/THRIFT-456
>             Project: Thrift
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 0.1
>            Reporter: Rush Manbert
>         Attachments: patch.txt
>
>
> This file contains the line:
>      shared_ptr<TSocket> socket(new TSocket("127.0.01", port));
> which has an invalid IP address string. It should be changed to:
>      shared_ptr<TSocket> socket(new TSocket("127.0.0.1", port));
> In its current state, this causes the test to get a runtime error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.