gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] ✘regress-driver broken


From: Fred Wright
Subject: Re: [gpsd-dev] ✘regress-driver broken
Date: Thu, 7 Apr 2016 15:44:58 -0700 (PDT)

On Thu, 7 Apr 2016, Gary E. Miller wrote:

> Yo Fred!
>
> On Thu, 7 Apr 2016 15:22:09 -0700
> "Gary E. Miller" <address@hidden> wrote:
>
> > Which brings up another issue, where does the 4K limit come from?
>
> I found it.  I increased the read max to 8192 from 4096.  That did not
> seem to break anything.
>
> Thanks for getting me to that problem.
>
> Change pushed.

The 4K is just an arbitrary reasonable buffer size.   There's no need for
it to contain a complete line when the code works correctly.  The buffer
that's used to return the data to the caller is dynamic and independent of
the read buffer size.

Fred Wright



reply via email to

[Prev in Thread] Current Thread [Next in Thread]