Matt Costi
faf031acd7
add simple request method handling
...
- can register callbacks on specific HTTP methods and paths
- Can call update_poll in event loop to check for new incoming requests
- update server example script
2019-07-13 20:54:48 -04:00
Matt Costi
5e09b7b867
Add server class to handle server start and get connected clients
2019-07-13 12:52:20 -04:00
Matt Costi
5b281189d5
separate server code from AP code
2019-07-13 09:45:47 -04:00
Limor "Ladyada" Fried
ac4aee5d8a
Merge pull request #42 from ZachNo/socket_hang_fix
...
Fixed infinite loop when socket readline fails
2019-05-24 20:27:05 -04:00
Zachary N
bf54a08358
Update adafruit_esp32spi/adafruit_esp32spi_socket.py
...
Co-Authored-By: Craig <cpforbes@starlake.org>
2019-05-18 22:43:18 -07:00
Craig Forbes
83f46d289b
Fix timeout handling in socket.read(). A timeout of zero will now block as
...
documented.
Handle optional parameter conntype in socket.connect().
2019-05-10 15:28:48 -05:00
Zach Nofz
79425a6879
Fixed infinite loop when socket readline fails
...
In certain cases, the socket may not receive a full response (or any
response), causing the while loop in readline to go on forever. After
failing to receive any data, this fix will raise an exception and fail
out.
2019-05-06 00:02:07 -07:00
ladyada
82317c85f9
add docstring for timeout
2019-02-23 17:19:48 -05:00
ladyada
4c01b8dd86
dox and packet size
2019-02-23 17:19:48 -05:00
ladyada
9aa865ab28
pylinted
2019-02-10 21:27:01 -05:00
ladyada
a86c896a5c
less debugs - try back to MTU 4000
2019-02-09 21:24:21 -05:00
ladyada
7b7fbe4d00
try to minimize allocations
2019-02-09 21:18:05 -05:00
ladyada
7f9e3e319e
Merge branch 'master' of github.com:ladyada/Adafruit_CircuitPython_ESP32SPI
2019-02-09 17:56:14 -05:00
ladyada
6fe5722bd2
remove debug print, set MTU to 1500
2019-02-09 17:55:54 -05:00
ladyada
4c41d038e6
linted
2019-02-09 14:29:03 -05:00
ladyada
97a59c1653
fix tcp bulk transfer bug, socket timeout setter, streaming data from socket, and a max transfer size
2019-02-09 14:04:06 -05:00
ladyada
f3c69d4484
less quotey
2019-02-09 00:12:02 -05:00
ladyada
9e2b1aab45
new cookie
2019-02-07 12:47:38 -05:00
ladyada
e0210144c2
make work with original demos
2019-01-27 15:37:31 -05:00
ladyada
fa1ec91f9d
move into a subfolder, working ssl
2019-01-27 14:15:31 -05:00