A C++ header-only HTTP/HTTPS server and client library
367 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | httplib.h | 1 | // |
| LOW | httplib.h | 21 | /* |
| LOW | httplib.h | 41 | #ifndef CPPHTTPLIB_CONNECTION_TIMEOUT_USECOND |
| LOW | httplib.h | 61 | #ifndef CPPHTTPLIB_CLIENT_READ_TIMEOUT_SECOND |
| LOW | httplib.h | 81 | #ifndef CPPHTTPLIB_EXPECT_100_THRESHOLD |
| LOW | httplib.h | 101 | #ifndef CPPHTTPLIB_IDLE_INTERVAL_USECOND |
| LOW | httplib.h | 121 | #ifndef CPPHTTPLIB_REDIRECT_MAX_COUNT |
| LOW | httplib.h | 141 | #ifndef CPPHTTPLIB_TCP_NODELAY |
| LOW | httplib.h | 161 | #ifndef CPPHTTPLIB_THREAD_POOL_COUNT |
| LOW | httplib.h | 181 | #define CPPHTTPLIB_SEND_FLAGS 0 |
| LOW | httplib.h | 201 | #define CPPHTTPLIB_WEBSOCKET_CLOSE_TIMEOUT_SECOND 5 |
| LOW | httplib.h | 221 | #ifndef _CRT_NONSTDC_NO_DEPRECATE |
| LOW | httplib.h | 241 | |
| LOW | httplib.h | 261 | |
| LOW | httplib.h | 281 | #endif |
| LOW | httplib.h | 301 | #endif |
| LOW | httplib.h | 321 | #include <fstream> |
| LOW | httplib.h | 341 | // On macOS with a TLS backend, enable Keychain root certificates by default |
| LOW | httplib.h | 361 | #endif |
| LOW | httplib.h | 381 | |
| LOW | httplib.h | 401 | #include <openssl/evp.h> |
| LOW | httplib.h | 421 | #endif // CPPHTTPLIB_OPENSSL_SUPPORT |
| LOW | httplib.h | 441 | #endif // _WIN32 |
| LOW | httplib.h | 461 | #ifndef WOLFSSL_GEN_EMAIL |
| LOW | httplib.h | 481 | #ifdef _MSC_VER |
| LOW | httplib.h | 13561 | // platforms surface write errors (EPIPE) earlier; on Windows kernel send |
| LOW | benchmark/crow/crow_all.h | 961 | #endif |
| LOW | benchmark/crow/crow_all.h | 981 | #include <boost/asio.hpp> |
| LOW | benchmark/crow/crow_all.h | 1321 | }; |
| LOW | benchmark/crow/crow_all.h | 1401 | #include <string> |
| LOW | benchmark/crow/crow_all.h | 6241 | #undef CROW_CALLBACK_NOTIFY |
| LOW | benchmark/crow/crow_all.h | 6261 | #undef CROW_IS_MARK |
| LOW | benchmark/crow/crow_all.h | 6281 | #endif |
| LOW | benchmark/crow/crow_all.h | 7381 | if (base.back() != '\\' && base.back() != '/') { base += '/'; } |
| LOW | benchmark/crow/crow_all.h | 7401 | utility::sanitize_filename(filename_sanitized); |
| LOW | benchmark/crow/crow_all.h | 8001 | return string.substr(1, string.length() - 2); |
| LOW | benchmark/crow/crow_all.h | 8421 | // Any middleware requires following 3 members: |
| LOW | benchmark/crow/crow_all.h | 8701 | #include <memory> |
| LOW | benchmark/crow/crow_all.h | 9581 | |
| LOW | benchmark/crow/crow_all.h | 10061 | |
| LOW | benchmark/crow/crow_all.h | 10461 | // |
| LOW | benchmark/crow/crow_all.h | 12481 | void get_found_bp(const std::vector<size_t> &bp_i, |
| LOW | benchmark/crow/crow_all.h | 13041 | #include <chrono> |
| LOW | test/run_issue_2431_repro.sh | 1 | #!/usr/bin/env bash |
| LOW | test/fuzzing/standalone_fuzz_target_runner.cpp | 1 | // Copyright 2017 Google Inc. All Rights Reserved. |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 1 | // Copyright 2007, Google Inc. |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 41 | |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 61 | clients of class B */ |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 141 | // Returns true if and only if the matcher matches x; also explains the |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 161 | // size is when the match fails, as it's redundant to say that the |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 641 | // polymorphic matcher (i.e. a matcher that can match values of more |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 701 | return Matcher<T>(impl); |
| LOW | test/gtest/include/gtest/gtest-matchers.h | 901 | template <typename T> |
| LOW | test/gtest/include/gtest/gtest-death-test.h | 1 | // Copyright 2005, Google Inc. |
| LOW | test/gtest/include/gtest/gtest-death-test.h | 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| LOW | test/gtest/include/gtest/gtest-death-test.h | 41 | #define GOOGLETEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_ |
| LOW | test/gtest/include/gtest/gtest-death-test.h | 61 | // tests. IMPORTANT: This is an internal utility. Using it may break the |
| LOW | test/gtest/include/gtest/gtest-death-test.h | 81 | // |
| LOW | test/gtest/include/gtest/gtest-death-test.h | 101 | // |
| 267 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | docs-util/llm-app/test_book.sh | 4 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 9 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 24 | # --------------------------------------------------------------------------- |
| MEDIUM | docs-util/llm-app/test_book.sh | 26 | # --------------------------------------------------------------------------- |
| MEDIUM | docs-util/llm-app/test_book.sh | 40 | # --------------------------------------------------------------------------- |
| MEDIUM | docs-util/llm-app/test_book.sh | 42 | # --------------------------------------------------------------------------- |
| MEDIUM | docs-util/llm-app/test_book.sh | 157 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 159 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 216 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 218 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 282 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 284 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 338 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 340 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 451 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 453 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 539 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_book.sh | 541 | # ============================================================================= |
| MEDIUM | docs-util/llm-app/test_webui.cpp | 13 | // ─── Test framework (minimal) ──────────────────────────────── |
| MEDIUM | docs-util/llm-app/test_webui.cpp | 58 | // ─── Helpers ───────────────────────────────────────────────── |
| MEDIUM | docs-util/llm-app/test_webui.cpp | 262 | // ─── Main ──────────────────────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 24 | // ─── Errors ────────────────────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 31 | // ─── Forward declarations ──────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 35 | // ─── Element ───────────────────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 107 | // ─── Session ───────────────────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 163 | // ─── Navigation ────────────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 187 | // ─── Find elements ────────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 221 | // ─── Wait ──────────────────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 252 | // ─── Execute script ───────────────────────────────────── |
| MEDIUM | docs-util/llm-app/webdriver.h | 267 | // ─── Page source ──────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | httplib.h | 13282 | // Cross-host/scheme redirect - create new client with robust setup |
| MEDIUM | httplib.h | 13287 | // New method for robust redirect client creation |
| MEDIUM | httplib.h | 13348 | // Setup client with robust configuration |
| MEDIUM | httplib.h | 13356 | // New method for robust client setup (based on basic_manual_redirect.cpp |
| MEDIUM | test/gtest/include/gtest/gtest-death-test.h | 152 | // This implementation is *not* meant to be as highly tuned or robust |
| MEDIUM | test/gtest/include/gtest/gtest-death-test.h | 224 | // In practice, this can be used to test functions that utilize the |
| MEDIUM | .github/workflows/test.yaml | 291 | # Bound the whole job in case anything in the test harness hangs |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | split.py | 12 | |
| LOW | generate_module.py | 10 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/run_issue_2431_repro.sh | 16 | # Usage: |