Hello Nicho,

it works fine for me with the following client code and Restlet 1.1.8:

Client c = new Client(Protocol.HTTP);
Request request = new Request(Method.POST, "http://localhost:8182/CA";, 
getRepresentation());
Response response = c.handle(request);
request = new Request(Method.POST, "http://localhost:8182/CA";, 
getRepresentation());
response = c.handle(request); 
request = new Request(Method.POST, "http://localhost:8182/CA";, 
getRepresentation());
response = c.handle(request); 

and this representation:    
    private static Representation getRepresentation() {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < 10000; i++) {
            sb.append("aaa");
        }       
        Representation result = new StringRepresentation(sb.toString());
        result.setSize(-1);
        return result;
    }

Could you try with several client/server connectors?

Best regards,
Thierry Boileau

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2464245

Reply via email to