[Box Backup-commit] [boxbackup/boxbackup] 6b9812: Improve exception handling in single-process serve...

GitHub noreply at github.com
Wed Nov 8 21:22:16 GMT 2017


  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 6b9812d7698354231d776f053e1e72b09f9c2936
      https://github.com/boxbackup/boxbackup/commit/6b9812d7698354231d776f053e1e72b09f9c2936
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M lib/server/ServerStream.h

  Log Message:
  -----------
  Improve exception handling in single-process servers

Don't allow an uncaught exception to kill the whole server. This makes it
consistent with multi-process servers, where death of a child worker does
not stop the main server process, so it continues to serve requests.

This makes the HTTPServer robust to exceptions (such as the child
disconnecting while the server is streaming a response) on Windows.


  Commit: 0aef76078cb43ed83d704871e259251ff49d32fd
      https://github.com/boxbackup/boxbackup/commit/0aef76078cb43ed83d704871e259251ff49d32fd
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M lib/win32/emu.cpp

  Log Message:
  -----------
  Windows syslog() emulation: improve error messages

If syslog can't log to the Windows event log for some reason, instead of
just printing the log message to the console, include some explanatory
text about what went wrong.


  Commit: bdbfb480c6ad268db49bdfb954324bfde915da31
      https://github.com/boxbackup/boxbackup/commit/bdbfb480c6ad268db49bdfb954324bfde915da31
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M infrastructure/buildenv-testmain-template.cpp

  Log Message:
  -----------
  Completely disable syslog logging in tests


  Commit: 25e7952613eb0eed3de4b83952a6453d7432f41d
      https://github.com/boxbackup/boxbackup/commit/25e7952613eb0eed3de4b83952a6453d7432f41d
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h

  Log Message:
  -----------
  Enable overriding log level by category as well as filename

This extends the -L command-line option to allow overriding by
filename/category=level as well as the existing support for overriding by
filename=level.


  Commit: 69edaa62743db885f1189bd749ec75d385daaf06
      https://github.com/boxbackup/boxbackup/commit/69edaa62743db885f1189bd749ec75d385daaf06
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  SocketStream: use THROW_SOCKET_ERROR for better messages on Windows


  Commit: 908679459f75057f04962b7830ed4c8ccb056a33
      https://github.com/boxbackup/boxbackup/commit/908679459f75057f04962b7830ed4c8ccb056a33
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M lib/httpserver/S3Client.h

  Log Message:
  -----------
  Increase timeouts in S3Client to help with debugging


  Commit: b3683acd4d53f4a2b0c3aa0c22e5bd8617edb292
      https://github.com/boxbackup/boxbackup/commit/b3683acd4d53f4a2b0c3aa0c22e5bd8617edb292
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M lib/httpserver/S3Simulator.cpp

  Log Message:
  -----------
  S3Simulator: add some TRACE logging to help debug 100-continue responses


  Commit: 7beb234457255a3830dc06571116ddd36defc4a4
      https://github.com/boxbackup/boxbackup/commit/7beb234457255a3830dc06571116ddd36defc4a4
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M lib/server/ServerStream.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  ServerStream and test/backupstore: improve comments slightly


Compare: https://github.com/boxbackup/boxbackup/compare/afb6a4cb9ed9...7beb23445725


More information about the Boxbackup-commit mailing list