Skip to content

Commit 3ceb0e3

Browse files
committed
Merge pull request #614 from deanberris/ipv6-support
Do not assume ipv4 for source
2 parents 620a0c5 + 218cdba commit 3ceb0e3

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
void start() {
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy