X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Fio%2Fasync%2FAsyncSocket.h;h=c85ac6b87bd51392d9a667cffadbb8c5fe886bff;hp=44ae5968b80d580bc41056de8f91a8a2501b1404;hb=2a4ad2c8ddc1eb1be8b7ffb607de954ccc2b666e;hpb=ee1a988dbb1648c25d1cf1c40eafbf2e7bff81b4;ds=sidebyside diff --git a/folly/io/async/AsyncSocket.h b/folly/io/async/AsyncSocket.h index 44ae5968..c85ac6b8 100644 --- a/folly/io/async/AsyncSocket.h +++ b/folly/io/async/AsyncSocket.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Facebook, Inc. + * Copyright 2017-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - #pragma once #include @@ -1023,7 +1022,7 @@ class AsyncSocket : virtual public AsyncTransportWrapper { virtual void checkForImmediateRead() noexcept; virtual void handleInitialReadWrite() noexcept; virtual void prepareReadBuffer(void** buf, size_t* buflen); - virtual void handleErrMessages() noexcept; + virtual size_t handleErrMessages() noexcept; virtual void handleRead() noexcept; virtual void handleWrite() noexcept; virtual void handleConnect() noexcept;