Unverified Commit 71a91c19 authored by Kip's avatar Kip Committed by GitHub

Merge pull request #955 from Tachi107/2021-07-07-cleanups

Cleanups
parents 2359fe4b bfb1353e
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda <andrea@pappacoda.it>
#
# SPDX-License-Identifier: CC0-1.0
subprojects/**
......@@ -132,7 +132,7 @@ namespace Pistache::Http
public:
ConnectionPool() = default;
void init(size_t maxConnsPerHost, size_t maxResponseSize);
void init(size_t maxConnectionsPerHost, size_t maxResponseSize);
std::shared_ptr<Connection> pickConnection(const std::string& domain);
static void releaseConnection(const std::shared_ptr<Connection>& connection);
......
This diff is collapsed.
This diff is collapsed.
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/async.h>
#include <pistache/common.h>
......
......@@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/cookie.h>
#include <date/date.h>
#include <pistache/cookie.h>
using namespace Pistache;
using namespace Pistache::Http;
......
......@@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/cookie.h>
#include <date/date.h>
#include <pistache/cookie.h>
using namespace Pistache;
using namespace Pistache::Http;
......
......@@ -10,7 +10,7 @@
#include <pistache/endpoint.h>
#include <pistache/http.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <chrono>
#include <string>
......
......@@ -7,7 +7,7 @@
#include <pistache/endpoint.h>
#include <pistache/router.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
using namespace Pistache;
......
......@@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <pistache/http.h>
#include <date/date.h>
#include <pistache/http.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <algorithm>
#include <chrono>
......
......@@ -8,7 +8,7 @@
#include <pistache/endpoint.h>
#include <pistache/http.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <atomic>
#include <chrono>
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/http.h>
#include <pistache/stream.h>
......
......@@ -11,7 +11,7 @@
#include <pistache/http.h>
#include <pistache/peer.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <chrono>
#include <condition_variable>
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/http.h>
using namespace Pistache;
......
......@@ -10,7 +10,7 @@
#include <pistache/endpoint.h>
#include <pistache/http.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <curl/curl.h>
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <arpa/inet.h>
#include <errno.h>
......
......@@ -9,7 +9,7 @@
#include <pistache/log.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
using namespace Pistache;
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/mailbox.h>
struct Data
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/http.h>
#include <pistache/mime.h>
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/net.h>
......
......@@ -7,7 +7,7 @@
#include <pistache/mailbox.h>
#include <pistache/reactor.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <chrono>
#include <iostream>
......
......@@ -10,7 +10,7 @@
#include <pistache/endpoint.h>
#include <pistache/http.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <chrono>
#include <memory>
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/endpoint.h>
#include <pistache/http.h>
......
......@@ -10,8 +10,8 @@
Unit tests for the rest router
*/
#include "gtest/gtest.h"
#include <algorithm>
#include <gtest/gtest.h>
#include <pistache/common.h>
#include <pistache/endpoint.h>
......
......@@ -6,7 +6,7 @@
#include <pistache/stream.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <climits>
#include <cstdio>
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/client.h>
#include <pistache/description.h>
......
......@@ -9,7 +9,7 @@
#include <pistache/string_logger.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
using namespace Pistache;
......
......@@ -10,7 +10,7 @@
#include <pistache/endpoint.h>
#include <pistache/http.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <chrono>
#include <fstream>
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/typeid.h>
using namespace Pistache;
......
......@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <pistache/view.h>
using namespace Pistache;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment