Permalink
Browse files

TS-1679: FetchSM cannot handle POST bodies > 32kb

  • Loading branch information...
1 parent 5612698 commit 0514ba2ab92aa374188f3b5d73e53e49013d6deb @bgaff bgaff committed Jan 30, 2013
Showing with 7 additions and 1 deletion.
  1. +2 −0 CHANGES
  2. +5 −1 proxy/FetchSM.cc
View
@@ -1,5 +1,7 @@
-*- coding: utf-8 -*-
Changes with Apache Traffic Server 3.3.1
+ *) [TS-1676] FetchSM (TSFetchUrl) cannot handle POST bodies > 32kb.
+
*) [TS-1675] Adding API method TSHttpTxnClientIncomingPortSet
*) [TS-1674] TSStatIntDecrement is broken: the logic is flawed.
View
@@ -191,7 +191,11 @@ FetchSM::process_fetch_write(int event)
req_finished = true;
break;
case TS_EVENT_VCONN_WRITE_READY:
- break; //just ignore this event
+ // data is processed in chunks of 32k; if there is more than 32k
+ // of input data, we have to continue reenabling until all data is
+ // read (we have already written all the data to the buffer)
+ ((PluginVC *) http_vc)->reenable(write_vio);
+ break;
case TS_EVENT_ERROR:
//InvokePlugin( TS_EVENT_ERROR, NULL);
InvokePlugin( callback_events.failure_event_id, NULL);

0 comments on commit 0514ba2

Please sign in to comment.