We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b52edd2 commit 16724b5Copy full SHA for 16724b5
tools/server/utils.hpp
@@ -13,6 +13,8 @@
13
#define CPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTH 1048576
14
// increase backlog size to avoid connection resets for >> 1 slots
15
#define CPPHTTPLIB_LISTEN_BACKLOG 512
16
+// increase max URI length to handle longer prompts in query string
17
+#define CPPHTTPLIB_REQUEST_URI_MAX_LENGTH 32768
18
// disable Nagle's algorithm
19
#define CPPHTTPLIB_TCP_NODELAY true
20
#include <cpp-httplib/httplib.h>
0 commit comments