Ivan Grokhotkov
56a37335d8
Merge pull request #1081 from Links2004/httpClient
...
Http client class
2015-11-25 15:59:00 +03:00
Ivan Grokhotkov
5422eab480
Merge pull request #1075 from edog1973/master
...
Fix: WebServer eating first char from header value
2015-11-25 15:58:32 +03:00
Markus Sattler
9089448d25
fixed typo
2015-11-25 12:59:02 +01:00
Markus Sattler
75fb6e2002
disable DEBUG_HTTPCLIENT
2015-11-25 12:50:49 +01:00
Markus Sattler
761b73c5ad
correct StreamHttpClient.ino example
2015-11-25 12:42:24 +01:00
Markus Sattler
59b4c82d60
add new Basic example based of getString
...
note: keep in mind the ram usage!
2015-11-25 12:40:25 +01:00
Markus Sattler
e4a5250a1a
add getString function
2015-11-25 12:33:59 +01:00
Eric Wilkison
319caba240
Fix: WebServer eating first char from header value
2015-11-23 12:39:40 -08:00
Joost Jager
ac8cfa0143
Merge branch 'master' into master
2015-11-23 21:22:42 +01:00
Markus Sattler
fd19d90709
Merge remote-tracking branch 'remotes/esp8266/master' into httpClient
2015-11-22 23:13:56 +01:00
Markus Sattler
c8aac83c47
add :del message to unref
2015-11-22 22:39:58 +01:00
Ivan Grokhotkov
3d268108fc
Merge pull request #1056 from me-no-dev/async-ota
...
Async ota
2015-11-22 23:10:25 +03:00
Ivan Grokhotkov
b5ca4fe789
Merge pull request #1055 from me-no-dev/http-uploads
...
Http uploads
2015-11-22 23:10:08 +03:00
Markus Sattler
497ab25040
fix some memory leek
...
still looses 40Byte some where?!
2015-11-22 16:37:29 +01:00
Markus Sattler
6ed7dfe537
improve handling of non http servers
2015-11-22 15:58:15 +01:00
Joost Jager
34fcc911bc
Url decode added for search parameters
2015-11-22 15:57:32 +01:00
Markus Sattler
be91d96774
improve debug out and error handling
2015-11-22 15:46:23 +01:00
Markus Sattler
e6c661e7ba
allow reuse of tcp connection to send multiple request to one server
...
add writeToStream function for easy payload usage
2015-11-22 15:34:10 +01:00
Markus Sattler
ca092f4754
fix warnings
2015-11-22 15:01:38 +01:00
Markus Sattler
464b9f2bfb
improve error handling
...
add httpClient::sendRequest ( universal request send )
2015-11-22 15:00:14 +01:00
Markus Sattler
3b24638c50
Merge remote-tracking branch 'remotes/esp8266/master' into httpClient
2015-11-22 11:35:09 +01:00
Markus Sattler
0a8f5be257
add more documentation and cleanup the example
2015-11-22 11:27:32 +01:00
Markus Sattler
1e7b9688a5
add examples/BasicHttpClient/BasicHttpClient.ino
...
fix get size
only fingerprint when strlen > 0
2015-11-22 11:09:48 +01:00
Me No Dev
bc48022118
spend more time understanding the logic
2015-11-21 21:29:54 +02:00
Me No Dev
fe9dc913b4
unref udp if exists
2015-11-21 21:14:11 +02:00
Me No Dev
94a7f63cda
fix static handler
2015-11-21 21:04:07 +02:00
Ivan Grokhotkov
ab16b2fe0d
Fix typo
2015-11-21 20:09:18 +03:00
Ivan Grokhotkov
40da463ee6
ESP8266WiFi library: add persistent option, fix #1054
2015-11-21 20:06:10 +03:00
Ivan Grokhotkov
8bf1e98f24
Improve debug output on critical errors
2015-11-21 20:04:38 +03:00
Me No Dev
0063d80c74
"Fix" sketches and libs to use the new upload api
2015-11-19 23:20:03 +02:00
Me No Dev
50eb6d9ff2
Make RequestHandler handle uploads
2015-11-19 22:52:52 +02:00
Me No Dev
d2982d3555
Make ArduinoOTA AUTH async
...
still up to the user to call ArduinoOTA.handle() to start the upload
2015-11-19 22:49:40 +02:00
Markus Sattler
74e6e9e1a9
Merge remote-tracking branch 'remotes/esp8266/master'
2015-11-17 18:42:14 +01:00
Markus Sattler
a359992fa4
Merge remote-tracking branch 'remotes/esp8266/master' into httpClient
2015-11-17 18:17:58 +01:00
Markus Sattler
70ca494a7f
add Response header handling
2015-11-17 17:40:14 +01:00
Ivan Grokhotkov
a2789df2a5
ESP8266httpUpdate: add method overload to allow updates using WiFiClientSecure
2015-11-17 03:13:37 +03:00
Ivan Grokhotkov
e9f0ea2afe
WiFiClientSecure: handle full size TLS fragments ( #43 )
...
- free up some memory by getting rid of intermediate buffer
- libaxtls: update to 6830d98
- allocate plaintext buffer in two stages: 4*MSS initially, grow to 16k after handshake
- free certificate data after handshake is complete
- preallocate some structures to reduce memory fragmentation
2015-11-17 02:47:57 +03:00
Markus Sattler
95dada180c
first httpClient
2015-11-16 19:29:33 +01:00
Markus Sattler
83b452b824
add missing WiFiClientSecure include in ESP8266WiFi.h
2015-11-16 19:28:59 +01:00
Ivan Grokhotkov
74aec438ae
Fix "invalid library found" errors with Arduino 1.6.6 ( #965 )
...
As per suggestion from @marvinroger
2015-11-16 00:39:54 +03:00
Ivan Grokhotkov
5b28ae23c2
Allow WiFiServer to bind to a specific address ( #997 )
...
In addition to the existing constructors (WiFiServer::WiFiServer(port) and WiFiWebServer::WiFiWebServer(port)), new constructors are added:
WiFiServer::WiFiServer(IPAddress, port) and WiFiWebServer::WiFiWebServer(IPAddress, port).
2015-11-15 20:35:52 +03:00
Ivan Grokhotkov
77428baddc
WiFiClientSecure rx overflow fixes
...
- Increase plaintext rx buffer size to 4096
- Request more data from axtls only when rx buffer is empty
2015-11-15 22:38:06 +03:00
sticilface
44900b4772
Merge branch 'master' into master
2015-11-12 11:17:19 +00:00
Andrew Melvin
5c6f98643b
Changes to static request handler
2015-11-12 07:27:21 +00:00
Me No Dev
0213dc34ff
Skip authentication when password is empty
...
should have been changed when turned in String
2015-11-12 03:09:04 +02:00
Me No Dev
18f0a9999a
add progress option for espota.py and fix typo in ArduinoOTA
2015-11-11 23:23:25 +02:00
Ivan Grokhotkov
6af4bf5496
Merge pull request #988 from JohnSL/issue_987
...
Exclude the terminator in sendContent_P
2015-11-11 01:11:31 +03:00
Ivan Grokhotkov
92069e657b
Replace some manually managed buffers with Strings, fix code style
2015-11-11 01:07:02 +03:00
JohnSL
c0f8ce9d84
Exclude the terminator in sendContent_P
...
The terminator should not be sent by sendContent_P. For example, if you
have a null-terminated string, the null itself should not be sent to the
client. This change decrements the number of bytes to send so it does
not include the termination character.
2015-11-08 19:28:55 -08:00
Me No Dev
950e9c9522
Let the socket to properly close
...
python was keeping the connection open and sending duplicate FINs until
the ESP came back online, because the ESP was resetting without giving
the network a chance to answer and close
2015-11-09 02:38:20 +02:00