Skip to content
Snippets Groups Projects
  1. Mar 19, 2021
  2. Mar 18, 2021
  3. Mar 17, 2021
    • Deucе's avatar
      First cut at adding a comment field to listings. · ef0a495e
      Deucе authored
      The jury is still out on some details...
      1) If you press ESC while editing the comment, it currently cancels
         the edit.  Would people expect ESC to exit the program instead?
      2) The format/colours of the displayed comment... right now it's
         using the UIFC background colours, and not draing a border or
         window.
      3) Just how long should the comment field be, and how should it be
         edited.
      ef0a495e
    • Deucе's avatar
      Special-case TAB so "backtab" works properly. · 1e0d3286
      Deucе authored
      1e0d3286
    • Deucе's avatar
      Close Socket on unhandled TLS errors · ba5759c2
      Deucе authored
      While errors on transmit seem to be handled well, errors on receive
      do not, especially through js_recv_line() which has been seen to
      trigger a large number (hundreds) of ECONNRESET errors.  To prevent
      this, simply close the socket when an otherwise unhandled error
      occurs.
      
      Almost certainly fixes that issue, but the underlying cause is still
      undetermined.  The calling script (imapservice.js) was checking
      Socket.is_connected after each recv_line() call, so if the socket
      was actually reset, it would be expected to only call it once.
      
      An alternative would be to explicitly handle the error that is
      seen (CRYPT_ERROR_PARAM1), but let's try a generic fix first and see
      of anything breaks because of it.  Most likely issue would be an
      inability to recv() data after calling shutdown(), but I don't think
      many people do that except to move the TIME_WAIT to where they want
      it.
      ba5759c2
    • Deucе's avatar
      Limit sends in terminal and web servers to 8k as well. · 757e3895
      Deucе authored
      It fixed an issue in js_socket.c, no reason to expect better
      behaviour with TLS.  This may fix SZ YModem-G transfers on
      cvs.synchro.net...
      757e3895
    • Deucе's avatar
      Work around exception on spammy mail... · b5a4c5c5
      Deucе authored
      Don't include the obsolete unstructured regex in abs.unstrctured,
      and use the abnf.unstructured for parsing headers.
      
      This fixes an issue seen running the IMAP server on gratuitously
      spammy messages.
      b5a4c5c5
    • Deucе's avatar
      Small fixes for ugetstr() · 08ff63ad
      Deucе authored
      - Backtab also exits with K_TABEXIT when the string is selected
      - Backspace scrolls the text to the left of the cursor to the right
        if the left of the input is not the start of the string.
      08ff63ad
    • Deucе's avatar
      Rename variable for consistency. · c905d6ab
      Deucе authored
      c905d6ab
    • Deucе's avatar
  4. Mar 16, 2021
  5. Mar 15, 2021
Loading