Me No Dev
dc5b7f708a
provide original name so proper content type is set for gzipped content
2016-06-17 02:23:18 +03:00
Me No Dev
d8809137a3
fix typos
2016-06-17 01:53:21 +03:00
Me No Dev
3709dd5e14
add ability to send File objects directly
...
utilize request's tempFile to store a handle to the file to send
use open instead of exists in static handler
2016-06-17 01:43:59 +03:00
Me No Dev
16a6016759
fix missed rename
2016-06-16 23:27:01 +03:00
Me No Dev
798fcc3c05
rename to _tempObject and give type void * so it can be used for any object/array
2016-06-16 23:24:09 +03:00
Me No Dev
41228cb246
add uint8_t * request->_tempBuffer to be used for storing body data or other request specific stuff
2016-06-16 23:09:58 +03:00
Me No Dev
5ee66e1842
send just the filename in Content-Disposition
...
Thanks go to: @hagai-shatz
2016-06-16 22:13:02 +03:00
Hagai Shatz
a52873b451
Fix path problems in static handler and improve performance. ( #41 )
2016-06-16 12:52:11 +03:00
Clemens Kirchgatterer
f384cd1f76
fix for file download/rendering response ( #40 )
...
tested with chromium and firefox and all content types i had handy.
chrome and firefox render all files inline, if they can. chrome downloads files when asked to download, firefox opens a download dialog.
2016-06-15 18:21:16 +03:00
sticilface
ba45a834e9
This handler will serve a 302 response to a client request for a SP… ( #36 )
...
* This handler will serve a 302 response to a client request for a SPIFFS file if the request comes from the STA side of the ESP network.
If the request comes from the AP side then it serves the file from SPIFFS.
* corrections. plus readme
* Update README.md
extra space
* move wifi to cpp
2016-06-10 10:46:12 +03:00
Me No Dev
bda2cd637a
add WebSocket auto-ping option and fix pcb not being released properly on disconnect
2016-05-28 03:50:38 +03:00
Charles
26b2e2532b
Added doc for ws.enable and ws.enabled ( #33 )
2016-05-25 21:13:26 +03:00
Me No Dev
2b501e74a7
add method to disable new connections to a WebSocket instance
2016-05-25 19:48:04 +03:00
Me No Dev
8171edd7e1
attempt fix on some edge cases
...
attempt to fix a case where \r can be missed and post not parsed
correctly
2016-05-20 00:55:20 +03:00
Me No Dev
b64691d4f7
Add known libs and projects that use async web server
2016-05-16 12:25:55 +03:00
Me No Dev
f5a68e3ff4
fix some readme typos
2016-05-15 03:49:38 +03:00
Me No Dev
8917b98332
update readme a bit
2016-05-15 03:42:27 +03:00
Charles
29b3f72e80
Added printf_P method ( #31 )
...
* Prevent buffer overflow on received data
* pass to 7 char to avoid save to flash by SDK
* return _contentLength, avoid array reparse to know len
* Added FlashStringHelper for text and binary
* Added FlashStringHelper also to AsyncWebSocketClient
* Added PROGMEM doc
* Corrected binary was sending PSTR as text, addded len
* Server calls client method and code as asked @me-no-dev
* server calls client method and code as asked by @me-no-dev
* Changed Code presentation
* Added printf_P methods
2016-05-15 03:00:33 +03:00
Me No Dev
937d442fce
urlDecode the GET path
2016-05-13 00:41:21 +03:00
Me No Dev
7cb06b1bb1
fix typo
2016-05-13 00:19:50 +03:00
Me No Dev
ffa893f770
Atempt at fixing large uploads
...
Fixing: https://github.com/me-no-dev/ESPAsyncWebServer/issues/29
2016-05-13 00:01:42 +03:00
Charles
1d275900eb
Prevent Buffer Overflow and Added FlashStringHelper for text and binary ( #26 )
...
* Prevent buffer overflow on received data
* pass to 7 char to avoid save to flash by SDK
* return _contentLength, avoid array reparse to know len
* Added FlashStringHelper for text and binary
* Added FlashStringHelper also to AsyncWebSocketClient
* Added PROGMEM doc
* Corrected binary was sending PSTR as text, addded len
* Server calls client method and code as asked @me-no-dev
* server calls client method and code as asked by @me-no-dev
* Changed Code presentation
2016-05-12 15:17:35 +03:00
Me No Dev
95a14dbdf2
oops, not familiar with this
2016-05-10 11:47:22 +03:00
Me No Dev
c22033258b
add platformio support
2016-05-10 11:40:19 +03:00
Me No Dev
00f40c0608
Merge pull request #25 from hallard/master
...
avoid client ID being 0
2016-05-06 18:04:40 +03:00
Charles
b1492fc213
avoid client ID being 0
...
Prevent having clientID set to 0
When managing an array of different clientID, it's preferable to a valid
client not having it's ID set to 0
2016-05-06 16:54:15 +02:00
Me No Dev
8dfd328627
quiet debug and add access to the AsyncClient and it's IP/Port
2016-05-03 04:49:51 +03:00
Me No Dev
060183974c
return json object by default
2016-05-03 03:59:49 +03:00
Me No Dev
d74a84455f
AsyncJson: add option to init with root as json array
...
ref: https://github.com/bblanchon/ArduinoJson/issues/272
2016-05-02 19:54:37 +03:00
Me No Dev
59732a09bd
add proper credits
2016-04-23 17:20:51 +03:00
Me No Dev
3c3f38e6f6
fix printf eating the last charecter
2016-04-23 16:11:57 +03:00
Me No Dev
9d9c2b7bf4
add WebSocket info to readme
2016-04-23 15:47:27 +03:00
Me No Dev
a0d975c157
fix travis build
2016-04-23 15:19:56 +03:00
Me No Dev
8d67809acf
Add AsyncWebSocket plugin
2016-04-23 15:11:32 +03:00
Me No Dev
d65e4bd4e5
collect all headers for the default handler
2016-04-20 22:26:19 +03:00
Me No Dev
c45b4002e5
fix leaked response if source is invalid
2016-04-11 21:42:37 +03:00
Me No Dev
b1e1450bfb
stability improvements for low memory
2016-04-08 17:43:16 +03:00
Me No Dev
ced8ac1c4c
Send as much as possible from the response with the headers
...
related to: https://github.com/me-no-dev/ESPAsyncWebServer/issues/15
2016-04-08 14:55:41 +03:00
Me No Dev
c0fd47bbf9
Merge pull request #18 from andig/fix-lowmem
...
Gracefully handle out of memory
2016-04-07 13:41:44 +03:00
andig
9a291c876c
Gracefully handle out of memory
2016-04-07 12:39:07 +02:00
Me No Dev
61d6de91a6
Update README.md
2016-04-07 12:23:51 +03:00
Me No Dev
e871a222fc
clean onError
2016-04-05 11:22:23 +03:00
Me No Dev
7e22511258
Merge pull request #17 from Hopperpop/master
...
Fix authenticate.
2016-03-19 00:20:38 +02:00
Hopperpop
046716556e
Fix buffer overflow in authenticate.
2016-03-18 22:34:18 +01:00
Me No Dev
024add39d3
more readme changes
2016-02-09 03:21:48 +02:00
Me No Dev
2ad9a2d2b5
missed mistakes in README
2016-02-09 03:06:39 +02:00
Me No Dev
c05f719f32
fix whatever went wrong the previous time
2016-02-09 02:56:01 +02:00
Me No Dev
3bc54a8071
Revert "Merge pull request #13 from me-no-dev/improved-parsing"
...
This reverts commit c95ac73753
, reversing
changes made to 97c938803c
.
2016-02-09 02:32:14 +02:00
Me No Dev
c95ac73753
Merge pull request #13 from me-no-dev/improved-parsing
...
Rearrange and rename files and add index to chunked responses
2016-02-09 01:55:09 +02:00
Me No Dev
c80722cf2f
remove blank line
2016-02-09 01:54:25 +02:00