summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-10-20 19:20:21 +0300
committerEd Tanous <ed@tanous.net>2023-10-24 21:17:16 +0300
commit5a39f77a17fa28911c87caea1e2903c059e7ec41 (patch)
treea2a2ff266238e7e9322e36eb2d9c92cf18829406 /http
parente9cc1bc93c4ad9662c93e2a98d4c787e2dbf9f07 (diff)
downloadbmcweb-5a39f77a17fa28911c87caea1e2903c059e7ec41.tar.xz
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository. Change-Id: I2f9540cf0d545a2da4d6289fc87b754f684bc9a7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'http')
-rw-r--r--http/http2_connection.hpp2
-rw-r--r--http/http_connection.hpp4
-rw-r--r--http/http_server.hpp2
-rw-r--r--http/routing.hpp2
-rw-r--r--http/websocket.hpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/http/http2_connection.hpp b/http/http2_connection.hpp
index 4d1bcace55..d815119e96 100644
--- a/http/http2_connection.hpp
+++ b/http/http2_connection.hpp
@@ -519,7 +519,7 @@ class HTTP2Connection :
inBuffer.consume(consumed);
doRead();
- });
+ });
}
// A mapping from http2 stream ID to Stream Data
diff --git a/http/http_connection.hpp b/http/http_connection.hpp
index 2a6afeb635..86cc49a2f7 100644
--- a/http/http_connection.hpp
+++ b/http/http_connection.hpp
@@ -486,7 +486,7 @@ class Connection :
}
doRead();
- });
+ });
}
void doRead()
@@ -529,7 +529,7 @@ class Connection :
cancelDeadlineTimer();
handle();
- });
+ });
}
void doWrite(crow::Response& thisRes)
diff --git a/http/http_server.hpp b/http/http_server.hpp
index dbb95b42dd..b290ad7902 100644
--- a/http/http_server.hpp
+++ b/http/http_server.hpp
@@ -188,7 +188,7 @@ class Server
[connection] { connection->start(); });
}
doAccept();
- });
+ });
}
private:
diff --git a/http/routing.hpp b/http/routing.hpp
index 49a51f18e7..6ab1327ffa 100644
--- a/http/routing.hpp
+++ b/http/routing.hpp
@@ -608,7 +608,7 @@ class Router
[&rule, asyncResp, adaptor(std::forward<Adaptor>(adaptor))](
Request& thisReq) mutable {
rule.handleUpgrade(thisReq, asyncResp, std::move(adaptor));
- });
+ });
}
void handle(Request& req,
diff --git a/http/websocket.hpp b/http/websocket.hpp
index 0fda7ee275..027ab24642 100644
--- a/http/websocket.hpp
+++ b/http/websocket.hpp
@@ -213,7 +213,7 @@ class ConnectionImpl : public Connection
BMCWEB_LOG_ERROR("Error closing websocket {}", ec);
return;
}
- });
+ });
}
boost::urls::url_view url() override