Skip to content
Snippets Groups Projects
  1. Nov 16, 2024
  2. Nov 15, 2024
  3. Nov 14, 2024
  4. Nov 13, 2024
  5. Nov 12, 2024
    • Deucе's avatar
      Document return values of Socket.poll() · f4ea0c75
      Deucе authored
      f4ea0c75
    • Rob Swindell's avatar
      Include the size of the message headers in the POP3 STAT response too · bb3485a9
      Rob Swindell authored
      I suppose if we only had messages with no body text, this value could be 0
      (not accounting for any headers) and thus throw a client off.
      
      So consider this as part of the fix for issue #822.
      bb3485a9
    • Rob Swindell's avatar
      Report bigger "size of message" in POP3 LIST response · e6d8053f
      Rob Swindell authored
      For messages that have no body, we'd report 0. But RFC 1939 says this value
      is supposed to be "the exact size of the message in octets" <sigh>. This
      would include header fields, so while we can't know the exact RFC822 size,
      adding the msg's hdr.length to these values gives size > 0 for messages
      with no body text and this enables the Apple iPhone Mail app to download
      the message (fixing issue #822).
      
      Part two of this fix is to provide a blank line of message text when there
      is none. This changes the message displayed in the iPhone Mail app from:
      
      "This message cannot be displayed because of the way it is formatted.
       Ask the sender to send it again using a different format or email program.
      
       text/plain"
      
      to (the much nicer):
       "This message has no content".
      e6d8053f
  6. Nov 11, 2024
  7. Nov 10, 2024
    • Rob Swindell's avatar
      Extend and back-off [f]nopen() file open retries · 69364d58
      Rob Swindell authored
      Similar to what I do with user.tab record locks 2 months ago, this will
      extend the total shared/network file open attempt duration from about 5
      seconds to about 45 seconds, but with incrementing back-off.
      
      Trying to sbbs-Linux to run from a Samba share without file open/locking
      errors.
      
      Re-synced the sbbs_t version of nopen with the nopen.c version (wasn't
      special-handling EDEADLOCK failures).
      
      Mostly we're using fnopen() these days anyway, which doesn't have an sbbs_t
      version (for logging warning messages about collisions), perhaps it should.
      69364d58
Loading