mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	server : disable Nagle's algorithm (#12020)
This commit is contained in:
		| @@ -7,6 +7,8 @@ | ||||
|  | ||||
| // increase max payload length to allow use of larger context size | ||||
| #define CPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTH 1048576 | ||||
| // disable Nagle's algorithm | ||||
| #define CPPHTTPLIB_TCP_NODELAY true | ||||
| #include "httplib.h" | ||||
|  | ||||
| // Change JSON_ASSERT from assert() to GGML_ASSERT: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov