david gauchard
58937dd489
check nullptr in ESP8266WebServer ( #3958 )
2017-12-14 14:38:44 +08:00
Develo
7df2858285
Fix comment misnomer ( #3939 )
2017-12-08 15:58:46 -03:00
Rotzbua
31abb6e5e1
[doc] update HTTPSRequest.ino ( #3925 )
...
add limitations of https connections
2017-12-08 03:38:19 -03:00
Shawn A
7b09ae5f69
Bug #3795 ( #3858 )
...
* fixes #3795
* adds beacon_interval and authmode to softap_config_equal
2017-11-22 19:01:22 -03:00
Shawn A
c40d8a990e
adds WiFi.getPersistent() ( #3857 )
2017-11-22 18:08:28 -03:00
Develo
9dcc580aef
Add compatibility check for ::config() method with arduino arg order ( #3860 )
2017-11-22 10:22:11 -03:00
Alessio Leoncini
03f1a540ca
Added constant time string comparison to avoid possible time-based attacks. ( #3836 )
...
* Added constant time strings comparison to avoid possible time-based attacks
* Fixed data types
* Fixed indentation
* Moved string comnparison in constant time to String class; modified function body to assure constant time comparison despite compiler optimizations
* Removed wrong code
* Fixed error and prevented compiler optimization to delete u1 local variable
* Avoid timing attacks on string comparison
* Minor
* changed counter names, removed else
2017-11-21 01:56:05 -03:00
david gauchard
cbfbc1ad63
lwip2 fixes and time/ntp management
...
core: +settimeofday()
core: +coredecls.h +sntp-lwip2.c
core: fix clock_gettime() with micros64()
core: honor DST in configTime()
core: internal clock is automatically started
examples: +esp8266/NTP-TZ-DST.ino
lwip2: sntp client removed
lwip2: fix crashing with WiFi.softAPConfig(ip,ip,ip)
fix #3852
2017-11-21 10:50:48 +08:00
Develo
2f09ea7117
refactor of WiFiMulti::run to reduce complexity and remove dead code ( #3847 )
2017-11-20 21:46:12 -03:00
Develo
422f35938a
Added length and operator[] methods, added some constness, missed dirty clear ( #3855 )
...
* Added length and operator[] methods, added some constness, missed _dirty clear
* Added forgotten const
2017-11-20 16:25:52 -03:00
Develo
1b76e9bf72
Clear dirty flag in begin and reallocate only if necessary, add getConstDataPtr method ( #2217 ) ( #3849 )
2017-11-20 14:39:27 -03:00
Shawn A
78b0f44348
fixes #3795 ( #3796 )
...
don't ignore ret when handling AP enable/disable in softAPdisconnect
2017-11-17 20:28:34 -03:00
Luc
bec6a4d302
Fix ESP8266NetBIOS to compile with lwip V2 ( #3823 )
...
* Fix to compile with lwip V2
* Add changes suggested
2017-11-17 18:02:22 -03:00
Shawn A
397592fce7
fixes #3793 ( #3794 )
...
wifi_softap_set_config always fails, password cannot be 0 unless authmode is open, no documentation found, trial and error.
2017-11-17 15:20:40 -03:00
Luc
d1e8fe99a2
Fix compilation with LWIP v2 ( #3822 )
2017-11-17 00:33:19 -03:00
Develo
9f2dcd6892
Fix ESP8266LLMNR for build with lwip2 ( #3821 )
...
* Fix for build with lwip2
* Fix for lwip2: Removed unnecessary #ifdefs
* Remove duplicate define for BIT
2017-11-16 13:41:24 -03:00
devyte
303a71deea
Servo: fix arg types for std::min/max
2017-11-05 14:46:36 +08:00
Christian Schuster
e71ec77a00
minimize number of exit paths in ESP8266WebServer::handleClient ( #2557 )
2017-10-22 13:58:53 +08:00
Christian Schuster
2fbc619569
allocate HTTPUpload struct on demand ( #2557 )
2017-10-22 13:58:53 +08:00
Bryce Schober
20b7e480b5
Make ESP8266mDNS debug output like other ESP libs
2017-10-22 13:56:45 +08:00
Bryce Schober
42aa983628
Make DNSServer debug output like other ESP libs
2017-10-22 13:56:45 +08:00
James Stanley
2abbc36da4
Put WiFi into station mode in examples ( #3731 )
2017-10-22 13:53:01 +08:00
ittacco
53d7cc01cf
Optimize EEPROM::put ( #2487 )
...
* EEPROM Library:
Improved put function, compare data and only in case are different set _dirty flag, copy the data
* It will grant that the _dirty flag is reset only at EEPROM.commit() and no changes are lost
2017-10-15 02:16:42 -05:00
E. van Harten
b81ef01ef7
Fix for redirect of HTTP Update, so that it always returns to the root / instead of /update ( #3420 )
2017-10-15 02:03:28 -05:00
Ivan Grokhotkov
c83e17b31e
WiFiUpd: fix warning
2017-10-15 14:41:50 +08:00
Ivan Grokhotkov
5116a46f09
WiFiClient,WiFiServer: update to match new err_t definition
2017-10-15 01:40:10 -05:00
Ivan Grokhotkov
e04903225e
sdk: update to v2.1.0-10-g509eae8
2017-10-15 01:40:10 -05:00
Ivan Grokhotkov
2c2d6a3bad
Don't remove persistent WiFi settings when doing scan ( #2946 )
2017-10-13 02:27:10 +08:00
Ivan Grokhotkov
526f4fbb6c
WiFiClientSecure: add option to allow self-signed certificates
...
Mainly useful for testing WiFiClientSecure in local environments.
If allowSelfSignedCerts is called before verifyCertChain, then the
certificate chain will be verified, but the final certificate may be
self-signed.
2017-10-08 07:08:51 +08:00
Ivan Grokhotkov
84b046f98c
WiFiClientSecure: add support for keys and certificates in PROGMEM
2017-10-08 05:04:04 +08:00
Ivan Grokhotkov
507a15910e
WiFiClientSecure: display certificates when debugging is enabled
2017-10-02 00:27:22 +08:00
Ivan Grokhotkov
eb891cd6e4
Revert "Added support for user-supplied DHCP range, with basic sanity checks ( #3562 )"
...
This reverts commit bdf2296a7d521ec876f15f3491b6690fff6abbb7.
2017-09-26 04:31:45 +08:00
Rémy HUBSCHER
ed20eb5b3e
ESP8266HTTPClient: update library.properties ( #3406 )
2017-09-22 03:57:28 -05:00
Matthew Blythe
13c1e8b293
UdpContext: check that pbuf_alloc doesn't return nullptr ( #3354 )
2017-09-22 03:56:27 -05:00
snosrap
369edb616d
Case-insensitive deviceType compare and skip NOTIFY processing
...
* ifndef'd LWIP_OPEN_SRC to prevent a redefined warning
* ABORT on NOTIFY to prevent responding to NOTIFY messages (we should only respond to M-SEARCH messages)
* case-insensitive compare of _deviceType to enable response to all-lowercase Alexa queries (robustness principle)
2017-09-22 03:52:44 -05:00
Joe Todd
c9dc8e1717
ESP8266HTTPClient: Add PATCH request ( #3590 )
2017-09-22 03:52:13 -05:00
probonopd
ac626ad9f8
Use LED_BUILTIN so that it works w/o attaching external LED ( #3452 )
...
* Use LED_BUILTIN so that it works w/o attaching external LED
* Use built-in LED
* Clarify text
2017-09-21 04:22:27 -05:00
NdK
bdf2296a7d
Added support for user-supplied DHCP range, with basic sanity checks ( #3562 )
2017-09-21 03:52:30 -05:00
cheng3100
41a8fdb4a9
Add the ESP8266WiFiMulti to KEYWORD1 to make it highlight in the ino file ( #3624 )
2017-09-20 22:17:09 -05:00
rudivandrunen
2d3b7b9759
WiFiClientSecure: add loadCACert function ( #3610 )
...
Added loadCACert function
2017-09-19 22:49:38 -05:00
Ahmed El Sharnoby
eebc5ec593
Digest Authentication in Webserver Library ( #3053 )
...
* Add Digest Auth
* Check for Opaque and Nonce
* Remove Serial Debug and fix Indentation
* Added example sketch with documentation,Fixed indentation and Defaults
* Digest Authentication minor changes + new padded 32 digit random function
* update license to public domain
* renaming functions
2017-09-18 05:31:32 -05:00
probonopd
1843030b8a
Allow for double quotes in boundary ( #3455 )
...
as per https://tools.ietf.org/html/rfc2046#section-5.1.1
2017-09-12 07:41:54 -05:00
per1234
fe6f3cc830
Use correct separator in keywords.txt
...
The Arduino IDE requires the use of a tab separator between the name and identifier. Without this tab the keyword is not highlighted.
Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
2017-09-04 06:54:18 -05:00
teejaydub
3b60f75635
Fix to parse parameters in the URL of a POST with empty content. ( #3398 )
2017-08-07 19:04:03 +03:00
hchahine
1bd1de0286
Removed literal '\n' in ESP8266HTTPUpdateServer response ( #3421 )
2017-08-07 15:46:47 +03:00
Earle F. Philhower, III
85be0f300a
Move MIME type table into PROGMEM to save RAM ( #3475 )
...
The extension -> MIME type routine uses lots of constant strings which end
up in the RODATA segment of RAM. Refactor the comparison to use a table of
strings stored in PMMEM instead, freeing ~370 bytes for the heap.
2017-08-07 15:44:30 +03:00
Ivan Kravets
1557b1e9ed
Manifest for @PlatformIO
...
Custom manifest for @PlatformIO which instructs PIO Build System to do not archive library's object files. See
- https://github.com/esp8266/Arduino/pull/3321#issuecomment-319386749
- http://docs.platformio.org/en/latest/librarymanager/config.html#libarchive
2017-08-07 15:40:50 +03:00
Earle F. Philhower, III
8f04be4c5b
Remove unused ax_port_*alloc() functions ( #3482 )
...
The ax_port_malloc, ax_port_calloc, ax_port_realloc, and ax_port_free
functions in WiFiClientSecure are not actually used by the AXTLS library.
It's directly using the library routines, and these function are never
used. Remove these dead bits of code to make the axtls operation clearer.
2017-08-01 18:38:35 +03:00
Stephan Schreiber
f5b6e16474
Fixed: urlDecode done before parsing args ( #2956 )
2017-08-01 12:54:31 +03:00
Richard Allen
40c159fcf5
Remove a number of extui instructions
...
Using a uint8_t for the loop counter resulted
in a number of 8-bit extract (extui) instructions.
Using a uint32_t prevents this.
2017-06-06 23:23:09 -05:00