Skip to content

Commit

Permalink
Merge pull request #123 from MortezaBashsiz/morteza/issue_119
Browse files Browse the repository at this point in the history
change read method till end of tls record
  • Loading branch information
MortezaBashsiz authored Nov 18, 2024
2 parents b1b3384 + 28de3ac commit 4c052e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/src/http.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,9 @@ class HTTP {

const std::string tlsTypeToString() const;

inline const std::string &dstIP() & { return dstIP_; }
inline const std::string &&dstIP() && { return std::move(dstIP_); }
inline const std::string &dstIP() { return dstIP_; }

inline const unsigned short &dstPort() & { return dstPort_; }
inline const unsigned short &&dstPort() && { return std::move(dstPort_); }
inline const unsigned short &dstPort() { return dstPort_; }

const std::string toString() const;
const std::string restoString() const;
Expand Down

0 comments on commit 4c052e4

Please sign in to comment.