merged python binding fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-01-20 20:42:12 +00:00
parent d6279c86e3
commit 360af45e63
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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)