On Wed, 2010-03-03 at 11:56 +0100, Winfried Neessen wrote: > Hi, [snip] > POE::Wheel::ReadWrite is using POE::Filter::Stream as it's filter, to > get the raw data from the client. The client is sending a combined > string of ascii and binary code. [snip]
> When the client side sends data, I receive the request and it is handled > by the InputEvent. But the client data is not coming in just one stream, t > here seems to be some fragmentation, which is a problem because > the next chunk of data from the client is handled as new request, which > breaks the data verification process > on the client side (authentication string, length of bytes that are sent > from the client, and so on.). The solution to this is to write a custom filter that makes sure the entire packet (your auth string/length/data) is read in before it passes this on to your app. Martijn