Skip to content

Commit 890a2dd

Browse files
committed
Fix #2189
1 parent ca5fe35 commit 890a2dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

httplib.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2282,6 +2282,10 @@ Client::set_write_timeout(const std::chrono::duration<Rep, Period> &duration) {
22822282
cli_->set_write_timeout(duration);
22832283
}
22842284

2285+
inline void Client::set_max_timeout(time_t msec) {
2286+
cli_->set_max_timeout(msec);
2287+
}
2288+
22852289
template <class Rep, class Period>
22862290
inline void
22872291
Client::set_max_timeout(const std::chrono::duration<Rep, Period> &duration) {

0 commit comments

Comments
 (0)