Skip to content

Commit 55be068

Browse files
committed
libvncserver/httpd: add comment about client handling shortcomings
1 parent e9bd7bd commit 55be068

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/libvncserver/httpd.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ void rfbHttpShutdownSockets(rfbScreenInfoPtr rfbScreen) {
150150
/*
151151
* httpCheckFds is called from ProcessInputEvents to check for input on the
152152
* HTTP socket(s). If there is input to process, httpProcessInput is called.
153+
* TODO When a new client connects, the active HTTP connection is abruptly
154+
* terminated, the ongoing download or data transfer for the active client will
155+
* be cut off because the server closes the socket without waiting for the
156+
* transfer to complete. The new client then takes over the single httpSock, and
157+
* the previous client loses its connection.
153158
*/
154159

155160
void

0 commit comments

Comments
 (0)