forked from premiere/premiere-libtorrent
merged python binding fix from RC_0_16
This commit is contained in:
parent
b7e7724fdd
commit
3c47435426
|
@ -39,6 +39,8 @@
|
|||
* fix uTP edge case where udp socket buffer fills up
|
||||
* fix nagle implementation in uTP
|
||||
|
||||
* fix python binding for external_ip_alert
|
||||
|
||||
0.16.14 release
|
||||
|
||||
* make lt_tex more robust against bugs and malicious behavior
|
||||
|
|
|
@ -43,6 +43,11 @@ tuple incoming_connection_alert_ip(incoming_connection_alert const& ica)
|
|||
return endpoint_to_tuple(ica.ip);
|
||||
}
|
||||
|
||||
std::string external_ip_alert_ip(external_ip_alert const& eia)
|
||||
{
|
||||
return eia.external_address.to_string();
|
||||
}
|
||||
|
||||
list stats_alert_transferred(stats_alert const& alert)
|
||||
{
|
||||
list result;
|
||||
|
@ -351,7 +356,7 @@ void bind_alert()
|
|||
|
||||
class_<external_ip_alert, bases<alert>, noncopyable>(
|
||||
"external_ip_alert", no_init)
|
||||
.def_readonly("external_address", &external_ip_alert::external_address)
|
||||
.add_property("external_address", &external_ip_alert_ip)
|
||||
;
|
||||
|
||||
class_<save_resume_data_alert, bases<torrent_alert>, noncopyable>(
|
||||
|
|
|
@ -314,8 +314,7 @@ enough to not draining the socket's send buffer before the disk operation comple
|
|||
The watermark is bound to a max value, to avoid buffer sizes growing out of control.
|
||||
The default max send buffer size might not be enough to sustain very high upload rates,
|
||||
and you might have to increase it. It's specified in bytes in
|
||||
``session_settings::send_buffer_watermark``. The ``high_performance_seed()`` preset
|
||||
sets this value to 5 MB.
|
||||
``session_settings::send_buffer_watermark``.
|
||||
|
||||
peers
|
||||
-----
|
||||
|
|
Loading…
Reference in New Issue