Alex Villacís Lasso
f9cce2dd8d
Fix variable shadowing
2020-12-23 16:42:00 -05:00
Alex Villacís Lasso
ddd0bc9290
Clear all callbacks on close or error
2020-12-23 16:41:29 -05:00
Alex Villacís Lasso
c35a1f2079
Plug mutex semaphore leak
...
Introduced by previous commit. This prevents a leak of one mutex
semaphore structure per destroyed client socket.
2020-12-23 11:08:14 -05:00
Alex Villacís Lasso
2bb8788ec1
Protect write buffer queue with a per-client mutex
...
This prevents a race condicion of the ::add() method modifying the queue
and being preempted by the high-priority asyncTcpSock task that in turn
flushes the same queue to the socket, therefore modifying the queue.
2020-12-21 18:21:27 -05:00
Alex Villacís Lasso
9ee3bda5ae
Add abort() support if enabled in LWIP
2020-12-21 14:04:00 -05:00
Alex Villacís Lasso
de2a0da915
Implement write() and free() methods
...
Also comment out one prototype not yet implemented.
2020-12-21 13:48:24 -05:00
Alex Villacís Lasso
7a70bda9ce
Place code under the same license as original AsyncTCP
2020-12-21 13:16:21 -05:00
Alex Villacís Lasso
9bde555be8
Arduino library files
2020-12-21 12:59:04 -05:00
Alex Villacís Lasso
5f24debb27
Initial commit
2020-12-19 17:28:53 -05:00