Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions http/src/network/protocol/http/message/wrappers/port.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ port_wrapper::operator boost:: uint16_t() const {
if (!optional_port) {
auto scheme_ = uri_.scheme();
assert(scheme_);
if (*scheme_ == "http") {
if (scheme_->compare("http") == 0) {
return 80u;
} else if (*scheme_ == "https") {
} else if (scheme_->compare("https") == 0) {
return 443u;
}
}
Expand Down