forked from premiere/premiere-libtorrent
merged python binding fix from RC_0_16
This commit is contained in:
parent
d6279c86e3
commit
360af45e63
|
@ -10,6 +10,8 @@
|
||||||
* fix uTP edge case where udp socket buffer fills up
|
* fix uTP edge case where udp socket buffer fills up
|
||||||
* fix nagle implementation in uTP
|
* fix nagle implementation in uTP
|
||||||
|
|
||||||
|
* added missing max_connections() function to python bindings
|
||||||
|
|
||||||
0.16.7 release
|
0.16.7 release
|
||||||
|
|
||||||
* fix string encoding in error messages
|
* fix string encoding in error messages
|
||||||
|
|
|
@ -619,6 +619,7 @@ void bind_session()
|
||||||
|
|
||||||
.def("set_max_uploads", allow_threads(&session::set_max_uploads))
|
.def("set_max_uploads", allow_threads(&session::set_max_uploads))
|
||||||
.def("set_max_connections", allow_threads(&session::set_max_connections))
|
.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("set_max_half_open_connections", allow_threads(&session::set_max_half_open_connections))
|
||||||
.def("num_connections", allow_threads(&session::num_connections))
|
.def("num_connections", allow_threads(&session::num_connections))
|
||||||
.def("set_settings", &session::set_settings)
|
.def("set_settings", &session::set_settings)
|
||||||
|
|
Loading…
Reference in New Issue