Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix type of string position variable to avoid failure (and warning) on | Chris Wilson | 2009-03-16 |
| | | | | | platforms where size_t is signed, e.g. FreeBSD. | ||
* | Fix race condition where bbackupd would run just before test finished | Chris Wilson | 2009-03-15 |
| | | | | | | waiting for its 90 second error timeout on slow machines, e.g. FreeBSD VM, causing bbackupd test to fail. | ||
* | Fix crash when freebsd (maybe *bsd) returns ECONNRESET on close(), which | Chris Wilson | 2009-03-15 |
| | | | | | | | | presumably means that the socket is already closed, causing bbackupd test to fail. Thanks to Victor Meirans for reporting the problem. See http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/1280 and http://wiki.powerdns.com/cgi-bin/trac.fcgi/ticket/192 for example. | ||
* | Fix compile error on FreeBSD due to missing #include of signal.h | Chris Wilson | 2009-03-15 |
| | |||
* | Compile fix. | Chris Wilson | 2009-01-24 |
| | |||
* | Move S3Client class into its own files for public access. | Chris Wilson | 2009-01-09 |
| | |||
* | Add support for PUT requests in HTTP simulator. | Chris Wilson | 2009-01-09 |
| | |||
* | Reset to remove old content in HTTPResponse in assignment operator. | Chris Wilson | 2009-01-09 |
| | |||
* | Initial implementations of S3Client class. | Chris Wilson | 2009-01-07 |
| | |||
* | Allow copying an HTTPResponse so that it can be returned by S3Client | Chris Wilson | 2009-01-07 |
| | | | | | methods. | ||
* | Add Amazon S3 signature checking to simulator. | Chris Wilson | 2009-01-06 |
| | |||
* | Add support for HTTP PUT requests (uploads) in S3 simulator. | Chris Wilson | 2009-01-05 |
| | |||
* | Create HTTP responses with the stream that they will be sent to, for 100 | Chris Wilson | 2009-01-05 |
| | | | | | Continue support. | ||
* | Remove definitions of unwanted copy constructor and assignment operator, | Chris Wilson | 2009-01-05 |
| | | | | | to avoid accidentally calling them. | ||
* | Don't read the whole uploaded body in HTTPRequest::Receive, as the | Chris Wilson | 2009-01-05 |
| | | | | | | | | | | | | | | | | | client may be expecting a 100 Continue header (or other response) before sending it, and only the HTTPServer should send that for us. Keep track of the stream that we're reading from, in case there's a body to read later. Simplify parsing of HTTP method, and add support for PUT requests. Add support for parsing Expect headers and storing and retrieving any unrecognised headers. Add support for sending a streaming upload from an IOStream with an HTTP request as the body (e.g. for PUT requests). | ||
* | New exception code for sending an HTTP response when it was not created | Chris Wilson | 2009-01-05 |
| | | | | | with a stream to send to. | ||
* | Add support for sending an HTTP/1.0 100 Continue response during | Chris Wilson | 2009-01-05 |
| | | | | | | processing of a request by HTTPServer, by keeping a pointer to the socket object. | ||
* | First part of S3 Simulator, read-only GET requests. | Chris Wilson | 2009-01-04 |
| | |||
* | Allow adding headers to an HTTPRequest. | Chris Wilson | 2009-01-04 |
| | | | | | | | | Allow getting response headers out of HTTPResponse. Rename HTTPRequest Read and Write methods to Send and Receive, to avoid confusion with IOStream. | ||
* | Move IOStream::Write(char *) out of line for debugging. | Chris Wilson | 2009-01-04 |
| | |||
* | Move stream comparison code out of BackupQueries::Compare to | Chris Wilson | 2009-01-04 |
| | | | | | FileStream class. | ||
* | Add HTTP status code 400, method not allowed. | Chris Wilson | 2009-01-04 |
| | | | | | | Fix calculation of remaining content size when some bytes were buffered by the IOStreamGetLine. | ||
* | Compare API for notification on starting to compare a file or directory. | Chris Wilson | 2009-01-03 |
| | |||
* | Change socket type from int to Socket::Type enum. | Chris Wilson | 2009-01-03 |
| | |||
* | Add ability to send an HTTPRequest to a socket and to parse an | Chris Wilson | 2009-01-03 |
| | | | | | HTTPResponse from a socket, to create a simple HTTP client. | ||
* | Move TEST_EQUAL macro into lib/common/Test.h, rename to TEST_EQUAL_LINE, | Chris Wilson | 2009-01-03 |
| | | | | | provide TEST_EQUAL that only takes two arguments for simplicity. | ||
* | Add a method to write a C style string directly to an IOStream. | Chris Wilson | 2009-01-03 |
| | |||
* | Reset read and write closed state of a socket after Open() and Attach(). | Chris Wilson | 2009-01-03 |
| | |||
* | Change use of int to identify a socket type to the proper enum. | Chris Wilson | 2009-01-03 |
| | |||
* | Compile and config verify fixes for HTTP server code. | Chris Wilson | 2009-01-03 |
| | |||
* | Dependencies for HTTP server. | Chris Wilson | 2009-01-03 |
| | |||
* | Copy tests for HTTP server. | Chris Wilson | 2009-01-03 |
| | |||
* | Copy HTTP server into Box, for use with S3 testing. | Chris Wilson | 2009-01-03 |
| | |||
* | Compare interface tweaks to reduce the number of methods. | Chris Wilson | 2008-12-31 |
| | |||
* | Separate out compare parameters and notification from | Chris Wilson | 2008-12-30 |
| | | | | | BackupQueries::CompareParams to allow Boxi to reuse this code. | ||
* | Add a function to return a native error message as a string. | Chris Wilson | 2008-12-30 |
| | |||
* | Change ConvertTo/FromUtf8 to take a std::string instead of a const char | Chris Wilson | 2008-12-30 |
| | | | | | *, for convenience and C++ style. | ||
* | Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as | Chris Wilson | 2008-12-30 |
| | | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve. | ||
* | Separate out daemon control interfaces into BackupDaemonInterface, for | Chris Wilson | 2008-12-30 |
| | | | | | | use by Boxi without dragging the implementation details into lots of headers. | ||
* | Make BackupDaemon::TouchFileInWorkingDir accessible for Boxi. | Chris Wilson | 2008-12-27 |
| | |||
* | Reformat comment. | Chris Wilson | 2008-12-27 |
| | |||
* | Allow reinitialising the RaidFileController by removing any existing | Chris Wilson | 2008-12-26 |
| | | | | | disc sets before adding new ones. | ||
* | Make clean in docs directory should delete built docs. | Chris Wilson | 2008-12-26 |
| | |||
* | Fix process kill function, fixes [2402] [2404]. | Chris Wilson | 2008-12-16 |
| | | | | | | Delete stale PID files after killing processes on Windows, as that fine OS doesn't give them a chance to clean up for themselves. | ||
* | Check for DocBook stylesheet on CentOS/RHEL | James O'Gorman | 2008-12-10 |
| | |||
* | Include <string> header in all exception classes, as it's required by | Chris Wilson | 2008-12-08 |
| | | | | | exceptions that can have a message assigned in their constructors. | ||
* | Only use replacement BSD getopt on Windows. | Chris Wilson | 2008-12-08 |
| | |||
* | * Look for DocBook stylesheet under /opt/local (Darwin/Macports) | James O'Gorman | 2008-12-06 |
| | | | | | | * Make each man page depend on bb-man.xsl so that it is regenerated if necessary | ||
* | More backslashes, I said, MORE BACKSLASHES! | Chris Wilson | 2008-12-06 |
| | |||
* | Fix missing curly brace. | Chris Wilson | 2008-12-05 |
| |