wangzhengquan
2020-10-13 2a4e4619f34a742e36693e589e0431347a72979b
src/socket/net_mod_server_socket.h
@@ -23,7 +23,7 @@
     int nready;       /* Number of ready descriptors from select */
     int maxi;         /* Highwater index into client array */
     int clientfd[FD_SETSIZE];    /* Set of active descriptors */
     rio_t clientrio[FD_SETSIZE]; /* Set of active read buffers */
    // rio_t clientrio[FD_SETSIZE]; /* Set of active read buffers */
   } ; 
private:
@@ -31,13 +31,15 @@
   ShmModSocket shmModSocket;
   pool pool;
   void *buf = NULL;
   void *buf;
   void *topic_buf;
  size_t max_buf;
  size_t max_topic_buf;
   void init_pool(int listenfd);
   void add_client(int connfd);
   void check_clients();
   int process_client(rio_t *rio, int connfd);
   int process_client(int connfd);
public: