fixes for libuv 0.11

This commit is contained in:
Konstantin Käfer
2014-10-22 15:29:28 +02:00
parent 087d04292a
commit 02e88e445d
3 changed files with 1 additions and 385 deletions

View File

@@ -83,7 +83,6 @@ void FileRequestBaton::file_stated(uv_fs_t *req) {
if (stat->st_size > std::numeric_limits<int>::max()) {
// File is too large for us to open this way because uv_buf's only support unsigned
// ints as maximum size.
const uv_err_t error = {UV_EFBIG, 0};
if (ptr->request) {
ptr->request->response = std::unique_ptr<Response>(new Response);
ptr->request->response->code = UV_EFBIG;