Skip to content

Commit

Permalink
Merge commit '163b832d936f795c2c2a3cf15990c03787616294' into merge/3.…
Browse files Browse the repository at this point in the history
…2_master
  • Loading branch information
callumbirks committed Sep 11, 2024
2 parents 492c11a + 163b832 commit f00ef2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Networking/HTTP/HTTPLogic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ namespace litecore::net {
// the new type can be handled the same way.
if ( _isWebSocket ) {
Address address = {_address.scheme() == "wss"_sl ? "https"_sl : "http"_sl, _address.hostname(),
_address.port(), _address.url()};
rq << string(Address::toURL(*(C4Address*)&address));
_address.port(), _address.path()};
rq << string(Address::toURL(*(C4Address*)address));
} else {
rq << string(_address.url());
}
Expand Down

0 comments on commit f00ef2c

Please sign in to comment.