In my web-server when I receive a request, the code to parse that request that is very natural goes something like :
- read-line until received an empty line to read the headers - read-subu8vector to read the body that could be anything
Problem is that the doc states that read-subu8vector should *not* be used after character input operations have been done on the port because otherwise the character-stream and byte-stream may be out of sync due to the port buffering. Is there any work around this limitation? (of course it is possible to modify the code not to do any character input operations but it becomes less elegant)
Thanks,
Guillaume Cartier