mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-08 08:54:54 +07:00
local and remote port made unsigned short
This commit is contained in:
+2
-2
@@ -37,9 +37,9 @@ struct mg_connection {
|
||||
const char *query_string; // URL part after '?', not including '?', or NULL
|
||||
|
||||
char remote_ip[48]; // Max IPv6 string length is 45 characters
|
||||
int remote_port; // Client's port
|
||||
const char *local_ip; // Local IP address
|
||||
int local_port; // Local port number
|
||||
unsigned short remote_port; // Client's port
|
||||
unsigned short local_port; // Local port number
|
||||
|
||||
int num_headers; // Number of HTTP headers
|
||||
struct mg_header {
|
||||
|
||||
Reference in New Issue
Block a user