Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-03 | JANITORIAL: Make GPL headers uniform | Eugene Sandulenko | |
2016-08-24 | ALL: Fix debug, warning and error usage | Alexander Tkachev | |
Added prefixes, used debug(9). | |||
2016-08-24 | CLOUD: JANITORIAL: Fix code formatting | Eugene Sandulenko | |
2016-08-24 | JANITORIAL: Remove spaces at the end of the line | Alexander Tkachev | |
I knew there were some, but I wanted to fix them once, instead of doing it all the time. | |||
2016-08-24 | CLOUD: Fix Client's buffer | Alexander Tkachev | |
2016-08-24 | CLOUD: More cleanup in Client | Alexander Tkachev | |
2016-08-24 | CLOUD: Cleanup in Reader and Client | Alexander Tkachev | |
2016-08-24 | CLOUD: Cleanup in UploadFileClientHandler | Alexander Tkachev | |
Adds Client::noMoreContent() and Reader::noMoreContent(), which return true when whole client's request was read. | |||
2016-08-24 | CLOUD: Add UploadFileClientHandler | Alexander Tkachev | |
Now Client reads the first headers block, then LocalWebserver decides which Handler to use. In case of "/upload", UploadFileHandler is used. But now it only knows the "path" parameter. If that's valid, actual UploadFileClientHandler is created, which reads the contents of the request and, when finds there an "upload_file" field, starts saving it in the directory specified by "path". With that we don't need temp files approach from Reader class. | |||
2016-08-24 | CLOUD: Add UploadFileHandler | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix minor Reader-related bugs | Alexander Tkachev | |
2016-08-24 | CLOUD: Move method/path/etc info in Reader | Alexander Tkachev | |
Query parameters are now parsed once and then just searched in the HashMap. | |||
2016-08-24 | CLOUD: Use Reader in Client | Alexander Tkachev | |
Instead of copy-pasting it I'm just "integrating" it in. | |||
2016-08-24 | CLOUD: Make "/create" work | Alexander Tkachev | |
One can now create directories through browser. | |||
2016-08-24 | CLOUD: Fix Client | Alexander Tkachev | |
Cleanup in open() | |||
2016-08-24 | CLOUD: Minor Client fix | Alexander Tkachev | |
2016-08-24 | CLOUD: Prepare code for path handlers | Alexander Tkachev | |
LocalWebserver would storage the handlers. Client now has methods like path() or query() to access different parts of the request. | |||
2016-08-24 | CLOUD: Minor Client fix | Alexander Tkachev | |
2016-08-24 | CLOUD: Add GetClientHandler | Alexander Tkachev | |
That ClientHandler is made for responding GET requests. It calculates stream's length, it allows to specify response code and headers, it can be used to transfer any ReadStream. | |||
2016-08-24 | CLOUD: Add ClientState::BAD_REQUEST | Alexander Tkachev | |
2016-08-24 | CLOUD: Add Networking::Client | Alexander Tkachev | |
Keeps current client's state |