Fix "HTTP/1.1 400 Illegal character CNTL=0xf" caused by serverMaxWindowBits/clientMaxWindowBits being uint8_t (signed char). (#341)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							f53b2f8878
						
					
				
				
					commit
					9f00428d57
				
			| @@ -87,7 +87,7 @@ namespace ix | ||||
|         ss << "  keyFile  = " << keyFile << std::endl; | ||||
|         ss << "  caFile   = " << caFile << std::endl; | ||||
|         ss << "  ciphers  = " << ciphers << std::endl; | ||||
|         ss << "  ciphers  = " << ciphers << std::endl; | ||||
|         ss << "  tls      = " << tls << std::endl; | ||||
|         return ss.str(); | ||||
|     } | ||||
| } // namespace ix | ||||
|   | ||||
| @@ -127,8 +127,8 @@ namespace ix | ||||
|         if (_clientNoContextTakeover) ss << "; client_no_context_takeover"; | ||||
|         if (_serverNoContextTakeover) ss << "; server_no_context_takeover"; | ||||
|  | ||||
|         ss << "; server_max_window_bits=" << _serverMaxWindowBits; | ||||
|         ss << "; client_max_window_bits=" << _clientMaxWindowBits; | ||||
|         ss << "; server_max_window_bits=" << static_cast<int>(_serverMaxWindowBits); | ||||
|         ss << "; client_max_window_bits=" << static_cast<int>(_clientMaxWindowBits); | ||||
|  | ||||
|         ss << "\r\n"; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user