[Box Backup-commit] [boxbackup/boxbackup] 6ab385: Refactor test/s3store to make check_new_account_in...

GitHub noreply at github.com
Tue May 30 22:23:41 BST 2017


  Branch: refs/heads/s3_support_merge
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 6ab385c1b7d2dfb50910f01daeeac14a6584dd9f
      https://github.com/boxbackup/boxbackup/commit/6ab385c1b7d2dfb50910f01daeeac14a6584dd9f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M lib/common/Test.h
    M test/s3store/tests3store.cpp

  Log Message:
  -----------
  Refactor test/s3store to make check_new_account_info() reusable.

(cherry picked from commit 2f597e11ccf56129319851f767581de1055da53e)


  Commit: 1ea250b85ef074bd3a4c1802ffb511acb1a52c05
      https://github.com/boxbackup/boxbackup/commit/1ea250b85ef074bd3a4c1802ffb511acb1a52c05
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp
    M bin/bbstoreaccounts/bbstoreaccounts.cpp
    M lib/backupstore/BackupAccountControl.cpp
    M lib/backupstore/BackupStoreAccounts.cpp
    M lib/backupstore/BackupStoreCheck.h
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h
    M lib/backupstore/HousekeepStoreAccount.h
    M lib/bbackupd/BackupClientContext.cpp
    M lib/bbstored/BBStoreDHousekeeping.cpp
    M lib/common/Configuration.cpp
    M lib/common/Configuration.h
    M lib/common/IOStream.cpp
    M lib/common/NamedLock.h
    M lib/common/ReadLoggingStream.cpp
    M lib/common/Utils.cpp
    M lib/common/ZeroStream.h
    M lib/httpserver/HTTPRequest.cpp

  Log Message:
  -----------
  Whitespace cleanup

(cherry picked from commit 88f7f4ef025a32680d0545571e0e5bdf9e0d5c3c)


  Commit: ab9d83cb893cef529242ac9296e5b13efe4b6da8
      https://github.com/boxbackup/boxbackup/commit/ab9d83cb893cef529242ac9296e5b13efe4b6da8
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M lib/server/Daemon.cpp

  Log Message:
  -----------
  Fix warning about snprintf() being deprecated on Windows.

(cherry picked from commit eeb2a127fe1410a871f3943651fa363edff943d0)


  Commit: ead150c2057d06f0325d1df11a206d30dc40fdea
      https://github.com/boxbackup/boxbackup/commit/ead150c2057d06f0325d1df11a206d30dc40fdea
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M lib/common/Test.cpp
    A lib/httpserver/HTTPHeaders.cpp
    A lib/httpserver/HTTPHeaders.h
    M lib/httpserver/HTTPQueryDecoder.cpp
    M lib/httpserver/HTTPQueryDecoder.h
    M lib/httpserver/HTTPRequest.cpp
    M lib/httpserver/HTTPRequest.h
    M lib/httpserver/HTTPResponse.cpp
    M lib/httpserver/HTTPResponse.h
    M lib/httpserver/S3Client.cpp
    M lib/httpserver/S3Simulator.cpp
    A test/httpserver/testfiles/dsfdsfs98.fd
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Refactor common HTTP header handling

Move the common code out of HTTPRequest and HTTPResponse into the new
HTTPHeaders class, a container for headers with some sensible HTTP-specific
behaviour.

(cherry picked from commit 546c0d068934e8fc5ba53f32bdf61b3a6841c65b)


  Commit: 1b4d294e3487eec1239b6fb8c6dce3b42ce6c25b
      https://github.com/boxbackup/boxbackup/commit/1b4d294e3487eec1239b6fb8c6dce3b42ce6c25b
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M lib/common/GetLine.cpp
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Fix incorrect timeout calculation in GetLine

Attaching a debugger to a process waiting in GetLine would previously cause the
read() to return immediately with EINTR, which we never retried. Now it retries
until the original timeout has expired.

(cherry picked from commit e997d092ad75aac98b5814c1b24d3ac0f8ae8e4a)


  Commit: 50f57e54cfff225933248152e242f4885a28fc9a
      https://github.com/boxbackup/boxbackup/commit/50f57e54cfff225933248152e242f4885a28fc9a
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M lib/common/Test.cpp
    A lib/httpserver/HTTPTest.cpp
    A lib/httpserver/HTTPTest.h
    A test/httpserver/testfiles/puppy.jpg
    M test/httpserver/testfiles/s3simulator.conf
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Add tests for S3Simulator and S3Client


Compare: https://github.com/boxbackup/boxbackup/compare/69192bdd42c3...50f57e54cfff


More information about the Boxbackup-commit mailing list