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

Commit3ceb0e3

Browse files
committed
Merge pull request#614 from deanberris/ipv6-support
Do not assume ipv4 for source
2 parents620a0c5 +218cdba commit3ceb0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎boost/network/protocol/http/server/async_connection.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ struct async_connection
387387

388388
voidstart() {
389389
typename ostringstream<Tag>::type ip_stream;
390-
ip_stream << socket_.remote_endpoint().address().to_v4().to_string() <<':'
390+
ip_stream << socket_.remote_endpoint().address().to_string() <<':'
391391
<< socket_.remote_endpoint().port();
392392
request_.source = ip_stream.str();
393393
read_more(method);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp