513 Commits

Author SHA1 Message Date
cpq
457d76b049 Fix #1211 - adjust ESP32 example to serve FS 2021-02-03 02:13:05 +00:00
cpq
7eb998891e Show served dir in the start message 2021-02-01 00:02:33 +00:00
cpq
d327ee9834 Improve SNI 2021-01-30 13:03:11 +00:00
cpq
31cf6f8969 https://localhost -> http://0.0.0.0 2021-01-29 13:18:34 +00:00
cpq
7200f079bf Remove dead code 2021-01-25 14:43:56 +00:00
cpq
d155db81de Add socks5 server example 2021-01-25 14:43:08 +00:00
cpq
7c2499fc06 -D -> -v 2021-01-25 10:35:14 +00:00
cpq
1aa605c620 desktop-server -> http-server 2021-01-25 10:09:48 +00:00
cpq
6ecb6c1500 Fix DNS timeout, add unit test 2021-01-21 10:00:18 +00:00
cpq
51bc5f70c5 Disable native socketpair by default, fix multithreaded win32 example 2021-01-21 09:12:49 +00:00
cpq
89784ab90a Restore to a simple version 2021-01-19 14:21:50 +00:00
cpq
ae6fd6aa35 Add extra headers param to mg_ws_upgrade() 2021-01-16 22:48:43 +00:00
cpq
72d3a49352 Restore SO_EXCLUSIVEADDRUSE 2021-01-13 03:47:11 +00:00
cpq
87b62390b7 No static for linux 2021-01-13 03:10:42 +00:00
cpq
83c106a857 UI for Win32 2021-01-13 03:07:51 +00:00
cpq
596c70d3dc Add config file processing 2021-01-12 15:18:19 +00:00
cpq
b7a79a556a Add extra headers param to mg_http_serve_file 2021-01-07 12:48:20 +00:00
cpq
03ab9e4e0d Update axios 2021-01-06 17:11:53 +00:00
cpq
e135743efa Fix example build 2021-01-03 08:55:00 +00:00
cpq
2c1324dc0a Remove -r option 2021-01-03 08:43:56 +00:00
cpq
c7e09bd7b4 Add SSI include file=, include virtual= 2021-01-02 17:57:51 +00:00
cpq
a882aab30e Add captive dns server example 2020-12-28 05:25:29 +00:00
cpq
788b577d65 Add README 2020-12-27 01:32:58 +00:00
cpq
71a22adc06 Add ESP8266 example 2020-12-27 01:29:42 +00:00
cpq
49b8480bfb Add http-reverse-proxy example 2020-12-25 04:32:56 +00:00
cpq
6bcd02bb1c Enhance HTTP client example 2020-12-24 16:52:58 +00:00
cpq
1716af6c72 Add HTTP client code 2020-12-24 16:52:12 +00:00
cpq
c75eb24eb8 Add proxy client example 2020-12-22 21:01:14 +00:00
cpq
d7abd53062 Always send MG_EV_CONNECT on TCP connect 2020-12-18 15:13:19 +00:00
cpq
aede72fa37 Refactor HTTP client 2020-12-18 14:29:30 +00:00
cpq
99ed58ec4d Better docstrings 2020-12-18 09:08:28 +00:00
cpq
04450ec659 Update http server example to showcase SSL 2020-12-18 09:01:14 +00:00
cpq
82a378e519 Add extra param to http_reply() 2020-12-17 22:47:55 +00:00
cpq
9f88f31f01 Add timer example 2020-12-17 11:44:30 +00:00
cpq
4bdea2b467 Add README to the esp32 example 2020-12-17 11:24:28 +00:00
cpq
9ecf42578c Fix screenshot link 2020-12-16 10:54:47 +00:00
cpq
754fc25924 Add description & screenshots 2020-12-16 10:54:09 +00:00
cpq
8d45cf6972 Add mqtt-server example 2020-12-15 20:29:47 +00:00
cpq
fa8f62fb5d Squash warnings under linux 2020-12-14 14:05:01 +00:00
cpq
b641fc6b79 Add esp32 example 2020-12-14 12:58:27 +00:00
cpq
54250f5fbf Rename, use hyphen 2020-12-12 10:22:45 +00:00
cpq
f3f397f31e Add MQTT client example 2020-12-12 10:03:19 +00:00
cpq
90686ee5c9 Add ws examples 2020-12-11 17:35:58 +00:00
cpq
763f4551d5 More log messages 2020-12-10 17:42:59 +00:00
cpq
42d7865e14 Pre-built desktop server 2020-12-10 17:39:40 +00:00
cpq
6c4b5efd98 Add restful and client example 2020-12-10 13:26:05 +00:00
cpq
f2fba1d200 7.0 refactor 2020-12-05 11:26:32 +00:00
Sergey Lyubka
000d24d31a Add http proxy client example
PUBLISHED_FROM=443a0d3db63df1b78555a9fa4eff808bef3a9a01
2020-03-25 16:32:49 +00:00
Sergey Lyubka
464113c5ae Sync mongoose changes
PUBLISHED_FROM=8b6ebf46728aca40f916dde88e372b4540ed6ea4
2019-12-19 11:12:57 +00:00
Deomid Ryabkov
1e9fabe1ca Fix handling of WS handshake error response
Check response code, make sure it's 101.
Pass http_message to the client to keep it appraised.
This represents a slight change in the API -
in case of an error MG_EV_WEBSOCKET_HANDSHAKE_DONE will now be delivered where previosuly connection would just hang.
Clients that do not examine the argument may for a moment think handshake has succeeded but in fact connection will be closed immediately.

CL: mg: Fix handling of WS handshake error response

PUBLISHED_FROM=645a43d9e5bee216e54411f85827c9b974e9a7d1
2019-02-14 21:19:34 +00:00