mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-11 16:40:17 +00:00
local and remote port made unsigned short
This commit is contained in:
1 parent
3fa5c69f98
commit
170df7b676
1 file changed
+2
-2
+2
-2
@@ -37,9 +37,9 @@ struct mg_connection {
|
|||||||
const char *query_string; // URL part after '?', not including '?', or NULL
|
const char *query_string; // URL part after '?', not including '?', or NULL
|
||||||
|
|
||||||
char remote_ip[48]; // Max IPv6 string length is 45 characters
|
char remote_ip[48]; // Max IPv6 string length is 45 characters
|
||||||
int remote_port; // Client's port
|
|
||||||
const char *local_ip; // Local IP address
|
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
|
int num_headers; // Number of HTTP headers
|
||||||
struct mg_header {
|
struct mg_header {
|
||||||
|
|||||||
Reference in new issue
Block a user