>> Do I have a guarantee that the final \n will be passed to my custom >> scan function and the result passed to the Scan function even if the >> connection hangs just after the \n?
> Yes (assuming the underlying Reader returns the final \n). >> Do similar properties hold for bufio.Reader (i.e., that the final octet >> will be passed to the client even if the connection hangs)? > Yes (assuming the underlying Reader returns the octet). Thanks, Ian, that's helpful. -- Juliusz -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.