folly copyright 2015 -> copyright 2016
[folly.git] / folly / io / async / AsyncServerSocket.h
index 0546f54c69584faa90283e3a0efb660ee7f66894..dcebbc59fb7ed15c5bf92fdb9ebda3062e8497bf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -539,7 +539,7 @@ class AsyncServerSocket : public DelayedDestruction
    *
    * Only works if called before addAcceptCallback.
    */
-  void setMaxNumPendingConnectionsPerWorker(uint32_t num) {
+  void setMaxNumMessagesInQueue(uint32_t num) {
     maxNumMsgsInQueue_ = num;
   }
 
@@ -760,7 +760,7 @@ class AsyncServerSocket : public DelayedDestruction
     uint16_t events, int socket, sa_family_t family) noexcept;
 
   int createSocket(int family);
-  void setupSocket(int fd);
+  void setupSocket(int fd, int family);
   void bindSocket(int fd, const SocketAddress& address, bool isExistingSocket);
   void dispatchSocket(int socket, SocketAddress&& address);
   void dispatchError(const char *msg, int errnoValue);