سؤال

When using the get method from LWP::UserAgent with :content_file and :content_cb set but without setting :read_size_hint: will there be a constant default value or could the chunk-size change?

هل كانت مفيدة؟

المحلول

Looking in LWP::Protocol::http (LWP::Protocol version 6.00): the default chunk size is 4096 bytes.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top