Skip to content
Snippets Groups Projects
  1. Jan 07, 2014
  2. Feb 07, 2013
  3. Oct 24, 2012
  4. Aug 22, 2012
    • rswindell's avatar
      Fix race-condition during shutdown or recycle that could cause crash: · 21dcf57b
      rswindell authored
      active_clients (protected integer) could be 0 at the time of recycle because
      there can be delay at the beginning of the FTP ctrl thread (e.g. looking up
      filtered IPs/hostnames) before the active_clients is incremented which could
      be during/after it was destroyed by the cleanup() function. Now tracking
      number of threads using protected integer which increments immediately upon
      child thread creation and is not destroyed until the main thread terminates.
      There is currently *not* timeout while waiting for child threads to terminate
      upon shutdown/recycle, so this could result in a hung server thread if a child
      thread is indefinitely hung - consider using a timeout.
      21dcf57b
  5. Jul 04, 2012
    • deuce's avatar
      Fix Chrome solution. · 11dfec1b
      deuce authored
      Per RFC3659, the correct response for "Good command, but no size for you" is
      550, not 500 or 501 (these indicate an inability to parse the command).
      
      This works with Chrome.
      11dfec1b
  6. Mar 06, 2012
  7. Oct 29, 2011
    • deuce's avatar
      Fix format-related warnings. · 8563ad46
      deuce authored
      This is *likely* to break the Win32 build and even when the macros are
      specified in xpdev, I doubt Microsoft has added support for the 'z' size
      specifier used in smblib/smbadd.c we'll likely need a SIZE_T_SIZE macro
      that is "z" on C99 systems and "ll" or "64" or whatever it is on Win32.
      
      Or maybe a whole slew of complete SIZE_T macros since the 32/64 but thing
      and the max file size thing may actually need the full format specification
      to be in the macro... "zu" on C99 platforms and whatever magic Microsoft
      needs there.
      8563ad46
  8. Oct 28, 2011
  9. Oct 19, 2011
  10. Oct 16, 2011
  11. Oct 11, 2011
  12. Oct 10, 2011
  13. Oct 09, 2011
  14. Oct 08, 2011
  15. Sep 18, 2011
  16. Sep 01, 2011
  17. Aug 31, 2011
  18. Aug 06, 2011
  19. Jul 13, 2011
  20. Apr 27, 2011
    • rswindell's avatar
      Judicious (even excessive?) use of the volatile keyword on variables that are · 4c54a03d
      rswindell authored
      commonly modified by multiple threads, potentially simultaneously, resulting in
      bad values (e.g. active_clients = -1).
      Updated copyright date to 2011.
      Fixed Win32 compile bug in main.cpp introduced in last commit.
      Eliminated some unused variables and updated some times (e.g. ulong in place
      fo uint32_t).
      4c54a03d
  21. Apr 13, 2011
  22. Jan 29, 2011
  23. Dec 15, 2010
  24. Nov 19, 2010
  25. Nov 11, 2010
  26. May 21, 2010
  27. Mar 22, 2010
  28. Mar 13, 2010
    • rswindell's avatar
      Remove Deuce's jsexec object, define js.startup_dir instead, which is now · 49b9ff9f
      rswindell authored
      (potentially) non-blank for external JS modules configured in SCFG->External
      Programs, as well as those executed from jsexec. If the startup_dir is
      specified in SCFG and no path is given for the .js file, it will look in the
      startup_dir first. js.startup_dir will be an empty string for all other cases
      (currently).
      49b9ff9f
  29. Dec 09, 2009
  30. Nov 21, 2009
Loading