Changeset 1567 for trunk/autoquest-httpmonitor/src/main
- Timestamp:
- 06/13/14 16:57:43 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-httpmonitor/src/main/java/de/ugoe/cs/autoquest/httpmonitor/proxy/HttpMonitoringProxyServlet.java
r1563 r1567 258 258 ByteBuffer next = delegate.next(); 259 259 260 ByteBuffer clone = ByteBuffer.allocate(next.capacity()); 260 ByteBuffer clone1 = ByteBuffer.allocate(next.capacity()); 261 ByteBuffer clone2 = ByteBuffer.allocate(next.capacity()); 262 261 263 next.rewind(); 262 clone .put(next);264 clone1.put(next); 263 265 next.rewind(); 264 clone.flip(); 266 clone2.put(next); 267 next.rewind(); 268 269 clone1.flip(); 270 clone2.flip(); 265 271 266 exchangeListenerManager.onRequestContent(request, clone );272 exchangeListenerManager.onRequestContent(request, clone1); 267 273 268 return next;274 return clone2; 269 275 } 270 276
Note: See TracChangeset
for help on using the changeset viewer.