Check malloc results, Contribute to cesanta/dev#3726

PUBLISHED_FROM=309be4a56754250406dd48f1abd30b68776f5c7e
This commit is contained in:
Alexander Alashkin authored and Sergey Lyubka committed 2016-05-28 19:06:09 +01:00
1 parent 3ec09ceedf
commit 58b8acd68a
22 files changed
+166 -696

No files matched your search

+32
View File
@@ -2,6 +2,38 @@
title: "HTTP + Websocket"
symbol_kind: "intro"
decl_name: "http.h"
items:
- { type: file, name: mg_set_protocol_http_websocket.md }
- { type: file, name: mg_send_websocket_handshake.md }
- { type: file, name: mg_send_websocket_handshake2.md }
- { type: file, name: mg_connect_ws.md }
- { type: file, name: mg_connect_ws_opt.md }
- { type: file, name: mg_send_websocket_frame.md }
- { type: file, name: mg_send_websocket_framev.md }
- { type: file, name: mg_printf_websocket_frame.md }
- { type: file, name: mg_send_http_chunk.md }
- { type: file, name: mg_printf_http_chunk.md }
- { type: file, name: mg_send_response_line.md }
- { type: file, name: mg_send_head.md }
- { type: file, name: mg_printf_html_escape.md }
- { type: file, name: mg_parse_http.md }
- { type: file, name: mg_get_http_header.md }
- { type: file, name: mg_http_parse_header.md }
- { type: file, name: mg_parse_multipart.md }
- { type: file, name: mg_get_http_var.md }
- { type: file, name: mg_url_decode.md }
- { type: file, name: mg_http_create_digest_auth_header.md }
- { type: file, name: mg_connect_http.md }
- { type: file, name: mg_connect_http_opt.md }
- { type: file, name: mg_serve_http.md }
- { type: file, name: mg_register_http_endpoint.md }
- { type: file, name: mg_file_upload_handler.md }
- { type: file, name: mg_http_check_digest_auth.md }
- { type: file, name: mg_fu_fname_fn.md }
- { type: file, name: struct_http_message.md }
- { type: file, name: struct_websocket_message.md }
- { type: file, name: struct_mg_http_multipart_part.md }
- { type: file, name: struct_mg_serve_http_opts.md }
---
-132
View File
@@ -1,132 +0,0 @@
{
"items": [
{
"type": "markdown",
"name": "intro.md"
},
{
"type": "markdown",
"name": "mg_set_protocol_http_websocket.md"
},
{
"type": "markdown",
"name": "mg_send_websocket_handshake.md"
},
{
"type": "markdown",
"name": "mg_send_websocket_handshake2.md"
},
{
"type": "markdown",
"name": "mg_connect_ws.md"
},
{
"type": "markdown",
"name": "mg_connect_ws_opt.md"
},
{
"type": "markdown",
"name": "mg_send_websocket_frame.md"
},
{
"type": "markdown",
"name": "mg_send_websocket_framev.md"
},
{
"type": "markdown",
"name": "mg_printf_websocket_frame.md"
},
{
"type": "markdown",
"name": "mg_send_http_chunk.md"
},
{
"type": "markdown",
"name": "mg_printf_http_chunk.md"
},
{
"type": "markdown",
"name": "mg_send_response_line.md"
},
{
"type": "markdown",
"name": "mg_send_head.md"
},
{
"type": "markdown",
"name": "mg_printf_html_escape.md"
},
{
"type": "markdown",
"name": "mg_parse_http.md"
},
{
"type": "markdown",
"name": "mg_get_http_header.md"
},
{
"type": "markdown",
"name": "mg_http_parse_header.md"
},
{
"type": "markdown",
"name": "mg_parse_multipart.md"
},
{
"type": "markdown",
"name": "mg_get_http_var.md"
},
{
"type": "markdown",
"name": "mg_url_decode.md"
},
{
"type": "markdown",
"name": "mg_http_create_digest_auth_header.md"
},
{
"type": "markdown",
"name": "mg_connect_http.md"
},
{
"type": "markdown",
"name": "mg_connect_http_opt.md"
},
{
"type": "markdown",
"name": "mg_serve_http.md"
},
{
"type": "markdown",
"name": "mg_register_http_endpoint.md"
},
{
"type": "markdown",
"name": "mg_file_upload_handler.md"
},
{
"type": "markdown",
"name": "mg_http_check_digest_auth.md"
},
{
"type": "markdown",
"name": "mg_fu_fname_fn.md"
},
{
"type": "markdown",
"name": "struct_http_message.md"
},
{
"type": "markdown",
"name": "struct_websocket_message.md"
},
{
"type": "markdown",
"name": "struct_mg_http_multipart_part.md"
},
{
"type": "markdown",
"name": "struct_mg_serve_http_opts.md"
}
]
}