Skip to content
Extraits de code Groupes Projets
  • Akihiko Odaki's avatar
    40e5d230
    Validate HTTP response length while receiving (#6891) · 40e5d230
    Akihiko Odaki a rédigé
    to_s method of HTTP::Response keeps blocking while it receives the whole
    content, no matter how it is big. This means it may waste time to receive
    unacceptably large files. It may also consume memory and disk in the
    process. This solves the inefficency by checking response length while
    receiving.
    40e5d230
    Historique
    Validate HTTP response length while receiving (#6891)
    Akihiko Odaki a rédigé
    to_s method of HTTP::Response keeps blocking while it receives the whole
    content, no matter how it is big. This means it may waste time to receive
    unacceptably large files. It may also consume memory and disk in the
    process. This solves the inefficency by checking response length while
    receiving.
provider_discovery.rb 1,43 Kio