1
0
mirror of synced 2025-04-20 11:47:43 +03:00

Merge pull request #225 from TangHuaiZhe/master

Fix compile error in android ndk
This commit is contained in:
yhirose 2019-09-27 17:29:07 -04:00 committed by GitHub
commit a62d1f79f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2773,7 +2773,7 @@ inline bool Client::send(const std::vector<Request> &requests,
if (!process_and_close_socket(
sock, requests.size() - i,
[&](Stream &strm, bool last_connection, bool &connection_close) {
[&](Stream &strm, bool last_connection, bool &connection_close) -> bool {
auto &req = requests[i];
auto res = Response();
i++;