• src/sbbs3/js_socket.c

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, January 05, 2025 21:06:01
    https://gitlab.synchro.net/main/sbbs/-/commit/82a999f46e27a33f425e4625
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Resolve MSVC warning about mismatch signed/unsigned compares

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, January 06, 2025 22:27:24
    https://gitlab.synchro.net/main/sbbs/-/commit/bf7ad258d687fdafff5a370a
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Fix TLS short send issue.

    On JS TLS sockets, sends over 16384 bytes would be truncated to
    the next multiple of 8192 higher than half the buffer length.

    This was triggered because we send chunks of 8192 bytes at a time,
    and decrement the length each time through the loop. We return
    "success" when the total sent so far is higher than the length
    remaining.

    Fixes bug reported in #Synchronet by Accession.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, January 06, 2025 22:37:02
    https://gitlab.synchro.net/main/sbbs/-/commit/a4c676ed06a1f9b08850bacf
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Fix apparent copy pasta of the total/len in recv.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Monday, January 20, 2025 21:45:29
    https://gitlab.synchro.net/main/sbbs/-/commit/42db53c892805678e0b3a474
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Add constants to the Socket class.

    This is just the ones mentioned in the jsdocs. I'll add more
    if/when I want them. :D

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Friday, January 31, 2025 20:46:08
    https://gitlab.synchro.net/main/sbbs/-/commit/5ac2c66c95c331f9a9d43b28
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Set Socket.type correctly on accept() from multisock

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Friday, January 31, 2025 20:53:00
    https://gitlab.synchro.net/main/sbbs/-/commit/a839a6f036fd4f280793e1d2
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Fix last commit.

    If we called accept(), it's not datagram, and if you're using SCTP
    and Synchronet lies to you, you can fix it yourself.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sunday, February 02, 2025 01:41:36
    https://gitlab.synchro.net/main/sbbs/-/commit/82a6e7c51ae366568e7e293b
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Add Socket.tls_psk_id property

    If tls_psk is used, indicates which entry in tls_psk was used by
    the remote.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sunday, February 02, 2025 19:09:45
    https://gitlab.synchro.net/main/sbbs/-/commit/83d6ece489c711d29e3b11c3
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Use the new TLS PSK flag to control if sock.tls_psk_id is set

    Now both the "regular" certificate, and PSK will be supported on
    a TLS socket, and it's up to the client to check which was used.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, February 02, 2025 20:30:55
    https://gitlab.synchro.net/main/sbbs/-/commit/7b548fd3de6a1ee6388ac7e8
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Correct JSDOCS for TLS PSK properties

    The wrong version nubmer was specified for these new properties - these properties were added in v3.20c which is represented numerically as 32002 in decimal.

    The description of the tls_psk_id property was missing socket_prop_desc.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sunday, February 02, 2025 21:42:54
    https://gitlab.synchro.net/main/sbbs/-/commit/e10260bc862550079536fc41
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Remove accidental whitespace

    No functional change.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, February 04, 2025 19:16:47
    https://gitlab.synchro.net/main/sbbs/-/commit/eda230f782c548aec09f51b8
    Modified Files:
    src/sbbs3/js_socket.c
    Log Message:
    Don't use deprecated function: inet_addr()

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