The chapter in question doesn’t looks correct - it tries to modify
chain links passed to the filter (that is, chain links that belong
to some other module), which is wrong thing to do. Instead, one
should allocate new chain links, and construct a new chain with
them.
In any case though it may be better idea to test with something
more suitable for testing than browser. E.g., telnet or netcat
may be better.
And I found that request header.
Transfer-Encoding: chunked
Is anything that I am wrong. Thanks.
The “Transfer-Encoding: chunked” header is correct as long as
response size isn’t known in advance. See here for details: