Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top