Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Broken Pipe Exception


if i call websocket-send("foobar)", my server will answers. But if i try to call send() in sequence, e.g. in a for-loop, only a few answers arrive the client and the server throws a " Broken Pipe": Broken pipe
    at Method)
    at org.eclipse.jetty.websocket.WebSocketGeneratorD00.flushBuffer(
    at org.eclipse.jetty.websocket.WebSocketGeneratorD00.addFrame(
    at org.eclipse.jetty.websocket.WebSocketConnectionD00.sendMessage(
    at de.wstest.WebSocketClass.onMessage(
    at org.eclipse.jetty.websocket.WebSocketConnectionD00$FrameHandlerD0.onFrame(
    at org.eclipse.jetty.websocket.WebSocketParserD00.parseNext(
    at org.eclipse.jetty.websocket.WebSocketConnectionD00.handle(
    at org.eclipse.jetty.util.thread.QueuedThreadPool$
2012-01-11 Broken pipe

Can anybody say me how to solve this problem?

I want to send multiple messages to the server in a short time. Is that possible or is there a workaround or something like this?

best regards

Back to the top