Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 1997 22:23:17 -0600 (MDT)
From:      Nate Williams <nate@mt.sri.com>
To:        Charles Henrich <henrich@crh.cl.msu.edu>
Cc:        Michael Smith <msmith@atrad.adelaide.edu.au>, tom@sdf.com, freebsd-hackers@freebsd.org
Subject:   Re: tty-level buffer overflows
Message-ID:  <199708040423.WAA26367@rocky.mt.sri.com>
In-Reply-To: <19970803112147.21483@crh.cl.msu.edu>
References:  <19970803025730.57257@crh.cl.msu.edu> <199708030852.SAA13473@genesis.atrad.adelaide.edu.au> <19970803112147.21483@crh.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Your application is busted; data is arriving faster than your app is reading
> > it, and the kernel has run out of patience and started throwing the data
> > away.
> 
> Im afraid not, the application is a software Upload, with a singly byte ack
> every 2k, if the serial port cant handle that, theres a problem.  I would
> presume that if the buffer is full, a write() should block.  

You've got a 16 byte FIFO, and you're wondering why it's overflowing
when your application is trying to get 2K at a time?  You've *GOT* to be
kidding, right?


Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708040423.WAA26367>