diff --git a/ChangeLog b/ChangeLog index 7fe8ddfa3..f4e4b9a52 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ * fix uTP edge case where udp socket buffer fills up * fix nagle implementation in uTP + * added missing max_connections() function to python bindings + 0.16.7 release * fix string encoding in error messages diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index ed8fe81fc..4373c629d 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -619,6 +619,7 @@ void bind_session() .def("set_max_uploads", allow_threads(&session::set_max_uploads)) .def("set_max_connections", allow_threads(&session::set_max_connections)) + .def("max_connections", allow_threads(&session::max_connections)) .def("set_max_half_open_connections", allow_threads(&session::set_max_half_open_connections)) .def("num_connections", allow_threads(&session::num_connections)) .def("set_settings", &session::set_settings)