• src/sbbs3/js_socket.c websrvr.c

    From deuce@VERT to CVS commit on Friday, June 21, 2019 12:53:29
    src/sbbs3 js_socket.c 1.228 1.229 websrvr.c 1.685 1.686
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv14579

    Modified Files:
    js_socket.c websrvr.c
    Log Message:
    Fix handling of responses with no content.

    This introduces a new request field send_content which indicates if the
    content should be sent. This covers various cases like HEAD responses
    where there's an entity, but no content is sent as well as 204, 304, and 1xx responses where there is not even an entity.

    writebuf() will now enforce this, so there's no need for various checks throughout the code to see if data should be sent or not.

    Also, we now only set sent_headers after the headers are sent.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Tuesday, December 19, 2023 11:54:47
    https://gitlab.synchro.net/main/sbbs/-/commit/0929ae07074c03926ab438be
    Modified Files:
    src/sbbs3/js_socket.c websrvr.c
    Log Message:
    Fix locking for JS TLS connections

    Also, expand the lock in websrvr to the correct scope.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net