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

+29
View File
@@ -2,6 +2,35 @@
title: "Core: TCP/UDP/SSL"
symbol_kind: "intro"
decl_name: "net.h"
items:
- { type: file, name: mg_mgr_init.md }
- { type: file, name: mg_mgr_free.md }
- { type: file, name: mg_mgr_poll.md }
- { type: file, name: mg_broadcast.md }
- { type: file, name: mg_next.md }
- { type: file, name: mg_add_sock.md }
- { type: file, name: mg_add_sock_opt.md }
- { type: file, name: mg_bind.md }
- { type: file, name: mg_bind_opt.md }
- { type: file, name: mg_connect.md }
- { type: file, name: mg_connect_opt.md }
- { type: file, name: mg_set_ssl.md }
- { type: file, name: mg_send.md }
- { type: file, name: mg_printf.md }
- { type: file, name: mg_vprintf.md }
- { type: file, name: mg_socketpair.md }
- { type: file, name: mg_check_ip_acl.md }
- { type: file, name: mg_enable_multithreading.md }
- { type: file, name: mg_enable_javascript.md }
- { type: file, name: mg_set_timer.md }
- { type: file, name: mg_time.md }
- { type: file, name: mg_event_handler_t.md }
- { type: file, name: struct_mg_str.md }
- { type: file, name: struct_mg_mgr.md }
- { type: file, name: struct_mg_connection.md }
- { type: file, name: struct_mg_add_sock_opts.md }
- { type: file, name: struct_mg_bind_opts.md }
- { type: file, name: struct_mg_connect_opts.md }
---
NOTE: Mongoose manager is single threaded. It does not protect
-120
View File
@@ -1,120 +0,0 @@
{
"items": [
{
"type": "markdown",
"name": "intro.md"
},
{
"type": "markdown",
"name": "mg_mgr_init.md"
},
{
"type": "markdown",
"name": "mg_mgr_free.md"
},
{
"type": "markdown",
"name": "mg_mgr_poll.md"
},
{
"type": "markdown",
"name": "mg_broadcast.md"
},
{
"type": "markdown",
"name": "mg_next.md"
},
{
"type": "markdown",
"name": "mg_add_sock.md"
},
{
"type": "markdown",
"name": "mg_add_sock_opt.md"
},
{
"type": "markdown",
"name": "mg_bind.md"
},
{
"type": "markdown",
"name": "mg_bind_opt.md"
},
{
"type": "markdown",
"name": "mg_connect.md"
},
{
"type": "markdown",
"name": "mg_connect_opt.md"
},
{
"type": "markdown",
"name": "mg_set_ssl.md"
},
{
"type": "markdown",
"name": "mg_send.md"
},
{
"type": "markdown",
"name": "mg_printf.md"
},
{
"type": "markdown",
"name": "mg_vprintf.md"
},
{
"type": "markdown",
"name": "mg_socketpair.md"
},
{
"type": "markdown",
"name": "mg_check_ip_acl.md"
},
{
"type": "markdown",
"name": "mg_enable_multithreading.md"
},
{
"type": "markdown",
"name": "mg_enable_javascript.md"
},
{
"type": "markdown",
"name": "mg_set_timer.md"
},
{
"type": "markdown",
"name": "mg_time.md"
},
{
"type": "markdown",
"name": "mg_event_handler_t.md"
},
{
"type": "markdown",
"name": "struct_mg_str.md"
},
{
"type": "markdown",
"name": "struct_mg_mgr.md"
},
{
"type": "markdown",
"name": "struct_mg_connection.md"
},
{
"type": "markdown",
"name": "struct_mg_add_sock_opts.md"
},
{
"type": "markdown",
"name": "struct_mg_bind_opts.md"
},
{
"type": "markdown",
"name": "struct_mg_connect_opts.md"
}
]
}