소스 검색

Added connection-specific conn_data pointer to struct mg_request_info

Sergey Lyubka 12 년 전
부모
커밋
036b213b2b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      mongoose.h

+ 1 - 0
mongoose.h

@@ -43,6 +43,7 @@ struct mg_request_info {
   int remote_port;            // Client's port
   int is_ssl;                 // 1 if SSL-ed, 0 if not
   void *user_data;            // User data pointer passed to mg_start()
+  void *conn_data;            // Connection-specific user data
 
   int num_headers;            // Number of HTTP headers
   struct mg_header {