Skip to content

Commit

Permalink
libvncserver/httpd: add comment about client handling shortcomings
Browse files Browse the repository at this point in the history
  • Loading branch information
bk138 committed Aug 4, 2024
1 parent e9bd7bd commit 55be068
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libvncserver/httpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ void rfbHttpShutdownSockets(rfbScreenInfoPtr rfbScreen) {
/*
* httpCheckFds is called from ProcessInputEvents to check for input on the
* HTTP socket(s). If there is input to process, httpProcessInput is called.
* TODO When a new client connects, the active HTTP connection is abruptly
* terminated, the ongoing download or data transfer for the active client will
* be cut off because the server closes the socket without waiting for the
* transfer to complete. The new client then takes over the single httpSock, and
* the previous client loses its connection.
*/

void
Expand Down

0 comments on commit 55be068

Please sign in to comment.