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
dbb38fff
Commit
dbb38fff
authored
Mar 04, 2016
by
Alexander Alashkin
Committed by
Marko Mikulicic
Mar 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make (http) proto_data persistent
PUBLISHED_FROM=8210f4730a3411b3298274d792fc33da79f47b8a
parent
672a6821
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
470 additions
and
427 deletions
+470
-427
mongoose.c
mongoose.c
+467
-422
mongoose.h
mongoose.h
+3
-5
No files found.
mongoose.c
View file @
dbb38fff
This diff is collapsed.
Click to expand it.
mongoose.h
View file @
dbb38fff
...
...
@@ -1075,8 +1075,9 @@ struct mg_connection {
double
ev_timer_time
;
/* Timestamp of the future MG_EV_TIMER */
mg_event_handler_t
proto_handler
;
/* Protocol-specific event handler */
void
*
proto_data
;
/* Protocol-specific data */
mg_event_handler_t
handler
;
/* Event handler function */
void
*
user_data
;
/* User-specific data */
void
(
*
proto_data_destructor
)(
void
*
proto_data
);
mg_event_handler_t
handler
;
/* Event handler function */
void
*
user_data
;
/* User-specific data */
union
{
void
*
v
;
/*
...
...
@@ -1088,9 +1089,6 @@ struct mg_connection {
void
*
priv_2
;
/* Used by mg_enable_multithreading() */
struct
mbuf
endpoints
;
/* Used by mg_register_http_endpoint */
void
*
mgr_data
;
/* Implementation-specific event manager's data. */
#ifdef MG_ENABLE_HTTP_STREAMING_MULTIPART
struct
mbuf
strm_state
;
/* Used by multi-part streaming */
#endif
unsigned
long
flags
;
/* Flags set by Mongoose */
#define MG_F_LISTENING (1 << 0)
/* This connection is listening */
...
...
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