Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Not-catched exception in boost::network::http::async_connection::start #611

Closed
Assignees
deanberris
@ikrukov

Description

@ikrukov

exceptions is thrown in this line:

ip_stream << socket_.remote_endpoint().address().to_v4().to_string() << ': '<<socket_.remote_endpoint().port();

Method to_v4 throws "bad_cast" when address is considered as v6 address.

For me its looks like bug, because it may be not obvious if listening address will be considered as v6 address. I faced with this problem when deployed application to Ubuntu 14.04 server, and run it on "localhost" address. In server address "localhost" is linked both to 127.0.0.1 ( v4 address ) and to ::1/128 (v6 address). Because of this application crashed on server, but runs perfectly on machines without ip v6 installed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp