forked from espressif/arduino-esp32
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit 9e7b13e
authored
WebServer.handleClient delay (espressif#4350)
* If WebServer.handleClient is run in a tight loop, it will starve other processes. So, if there is no connection, throw in a delay(1). Fixes espressif#4348
* Made a variable to control the delay behavior1 parent 2243081 commit 9e7b13e
2 files changed
+11
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | + | ||
48 | 49 |
| |
49 | 50 |
| |
50 | 51 |
| |
| |||
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
70 | + | ||
69 | 71 |
| |
70 | 72 |
| |
71 | 73 |
| |
| |||
280 | 282 |
| |
281 | 283 |
| |
282 | 284 |
| |
285 | + | ||
286 | + | ||
287 | + | ||
283 | 288 |
| |
284 | 289 |
| |
285 | 290 |
| |
| |||
370 | 375 |
| |
371 | 376 |
| |
372 | 377 |
| |
378 | + | ||
379 | + | ||
380 | + | ||
381 | + | ||
373 | 382 |
| |
374 | 383 |
| |
375 | 384 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 | + | ||
126 | 127 |
| |
127 | 128 |
| |
128 | 129 |
| |
| |||
176 | 177 |
| |
177 | 178 |
| |
178 | 179 |
| |
180 | + | ||
179 | 181 |
| |
180 | 182 |
| |
181 | 183 |
| |
|
0 commit comments