Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
a0d765a6
Commit
a0d765a6
authored
Aug 23, 2010
by
valenok
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed port_data, post_data_len from request_info. added prototype for mg_read()
parent
c94ad1c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
mongoose.h
mongoose.h
+1
-3
No files found.
mongoose.h
View file @
a0d765a6
...
@@ -36,12 +36,10 @@ struct mg_request_info {
...
@@ -36,12 +36,10 @@ struct mg_request_info {
char
*
uri
;
// URL-decoded URI
char
*
uri
;
// URL-decoded URI
char
*
http_version
;
// E.g. "1.0", "1.1"
char
*
http_version
;
// E.g. "1.0", "1.1"
char
*
query_string
;
// \0 - terminated
char
*
query_string
;
// \0 - terminated
char
*
post_data
;
// POST data buffer
char
*
remote_user
;
// Authenticated user
char
*
remote_user
;
// Authenticated user
char
*
log_message
;
// Mongoose error log message
char
*
log_message
;
// Mongoose error log message
long
remote_ip
;
// Client's IP address
long
remote_ip
;
// Client's IP address
int
remote_port
;
// Client's port
int
remote_port
;
// Client's port
int
post_data_len
;
// POST buffer length
int
status_code
;
// HTTP status code
int
status_code
;
// HTTP status code
int
is_ssl
;
// 1 if SSL-ed, 0 if not
int
is_ssl
;
// 1 if SSL-ed, 0 if not
int
num_headers
;
// Number of headers
int
num_headers
;
// Number of headers
...
@@ -148,7 +146,7 @@ int mg_write(struct mg_connection *, const void *buf, size_t len);
...
@@ -148,7 +146,7 @@ int mg_write(struct mg_connection *, const void *buf, size_t len);
int
mg_printf
(
struct
mg_connection
*
,
const
char
*
fmt
,
...);
int
mg_printf
(
struct
mg_connection
*
,
const
char
*
fmt
,
...);
// Read data from the remote
or local en
d.
// Read data from the remote
end, return number of bytes rea
d.
int
mg_read
(
struct
mg_connection
*
,
void
*
buf
,
size_t
len
);
int
mg_read
(
struct
mg_connection
*
,
void
*
buf
,
size_t
len
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment