aboutsummaryrefslogtreecommitdiff
path: root/include/salticidae/conn.h
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2018-07-21 17:23:35 -0400
committerDeterminant <tederminant@gmail.com>2018-07-21 17:23:35 -0400
commit10b23b5b90197566c187c89a64ebfefa31115783 (patch)
tree397e15b166b4032a322e3ea71e5347d4a0f77d96 /include/salticidae/conn.h
parent0465243c710ede74a78885077140d8673efbc647 (diff)
...
Diffstat (limited to 'include/salticidae/conn.h')
-rw-r--r--include/salticidae/conn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/salticidae/conn.h b/include/salticidae/conn.h
index a254505..3742975 100644
--- a/include/salticidae/conn.h
+++ b/include/salticidae/conn.h
@@ -191,6 +191,7 @@ class ConnPool {
int get_fd() const { return fd; }
const NetAddr &get_addr() const { return addr; }
ConnMode get_mode() const { return mode; }
+ ConnPool *get_pool() const { return cpool; }
SegBuffer &read() { return recv_buffer; }
/** Set the buffer size used for send/receive data. */
void set_seg_buff_size(size_t size) { seg_buff_size = size; }