[ https://issues.apache.org/jira/browse/TS-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15468820#comment-15468820 ]
Syeda Persia Aziz commented on TS-4819: --------------------------------------- (gdb) bt #0 0x000000000055a532 in ProxyClientTransaction::get_half_close_flag (this=0x7fffec27be40) at http/../ProxyClientTransaction.h:78 #1 0x00000000005f3cdf in HttpSM::do_setup_post_tunnel (this=0x7fffd0cce1e0, to_vc_type=HTTP_SERVER_VC) at HttpSM.cc:5621 #2 0x00000000005e5434 in HttpSM::state_send_server_request_header (this=0x7fffd0cce1e0, event=103, data=0x7fffb8018b90) at HttpSM.cc:1995 #3 0x00000000005e7e00 in HttpSM::main_handler (this=0x7fffd0cce1e0, event=103, data=0x7fffb8018b90) at HttpSM.cc:2658 #4 0x00000000005100f2 in Continuation::handleEvent (this=0x7fffd0cce1e0, event=103, data=0x7fffb8018b90) at ../iocore/eventsystem/I_Continuation.h:153 #5 0x0000000000799b17 in write_signal_and_update (event=103, vc=0x7fffb8018a00) at UnixNetVConnection.cc:184 #6 0x0000000000799d22 in write_signal_done (event=103, nh=0x7ffff4ecdcd0, vc=0x7fffb8018a00) at UnixNetVConnection.cc:226 #7 0x000000000079b19e in write_to_net_io (nh=0x7ffff4ecdcd0, vc=0x7fffb8018a00, thread=0x7ffff4eca010) at UnixNetVConnection.cc:566 #8 0x000000000079a91d in write_to_net (nh=0x7ffff4ecdcd0, vc=0x7fffb8018a00, thread=0x7ffff4eca010) at UnixNetVConnection.cc:423 #9 0x0000000000791802 in NetHandler::mainNetEvent (this=0x7ffff4ecdcd0, event=5, e=0x1192d00) at UnixNet.cc:530 #10 0x00000000005100f2 in Continuation::handleEvent (this=0x7ffff4ecdcd0, event=5, data=0x1192d00) at ../iocore/eventsystem/I_Continuation.h:153 #11 0x00000000007bd88b in EThread::process_event (this=0x7ffff4eca010, e=0x1192d00, calling_code=5) at UnixEThread.cc:148 #12 0x00000000007bde8e in EThread::execute (this=0x7ffff4eca010) at UnixEThread.cc:275 #13 0x00000000007bce30 in spawn_thread_internal (a=0x114bab0) at Thread.cc:86 #14 0x00007ffff6a5c6fa in start_thread (arg=0x7ffff4ac5700) at pthread_create.c:333 #15 0x00007ffff5cedb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 > ATS-6.2.x crashes if the message-body of a chunk is not correctly formatted > --------------------------------------------------------------------------- > > Key: TS-4819 > URL: https://issues.apache.org/jira/browse/TS-4819 > Project: Traffic Server > Issue Type: Bug > Components: Core > Reporter: Syeda Persia Aziz > > I found this when using the python "requests" library to generate HTTP > requests to test the ATS. The request method of this library generates > incorrect message body (i.e. does not follow the standard format) if both > Content-Length and chunked encoding are specified. ATS can handle requests > with these two fields being specified. It is the wrong format of the chunk > that makes the ATS crash. This problem can be reproduced using the python > file attached. If the Content-Length is removed from the header, then the > library generates the correct format and ATS responds correctly. Ideally, > content-length and chunked encoding should not be specified together -- This message was sent by Atlassian JIRA (v6.3.4#6332)