Skip to content

https keepalive and chunking disabled problem #1652

Description

@esmq2092

when original server return chunk encoding but ats disabled chunking at all...
ats(7.0.0) have to close the client connection when transaction had done...(all i mention here are cache miss requests),

there's no problem for http requests, but i observed strange behavior for https request when use different version of wget as user-agent...


  1. Wget/1.12 + http1.0 + keepalive, it works fine...
    GET /? HTTP/1.0
    User-Agent: Wget/1.12 (linux-gnu)
    Accept: /
    Host: a.b.com
    Connection: Keep-Alive

  1. when switch to Wget/1.16 + http1.1 + keepalive, error occurs....
    GET /? HTTP/1.1
    User-Agent: Wget/1.16 (linux-gnu)
    Accept: /
    Host: a.b.com
    Connection: Keep-Alive

it will cause infinite loop generating error message like this : Read error at byte 39814 (The TLS connection was non-properly terminated.).Retrying.

and i known this message is actually emit by gnutls, both gnutls 3.0.22 and 3.3.8 have the problem....

  1. when switch to Wget/1.16 + http1.1 and without keepalive, the problem gone....

when turn on chunking can fix the problem,
still i want to known that is the problem about ats or gnutls ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions