Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit e3ef50b

Browse files
committed
do not tell that we can send until all sent data is acked
1 parent b0e8d56 commit e3ef50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ESPAsyncTCP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ bool AsyncClient::freeable(){
649649
}
650650

651651
bool AsyncClient::canSend(){
652-
return space() > 0;
652+
return !_pcb_busy && (space() > 0);
653653
}
654654

655655

0 commit comments

Comments
 (0)