emacs-devel
[Top][All Lists]
Advanced

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

Re: process.c: read_process_output: hard coded 4096 bytes read limit


From: Andreas Schwab
Subject: Re: process.c: read_process_output: hard coded 4096 bytes read limit
Date: Sun, 23 Jun 2013 11:28:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Miguel Guedes <address@hidden> writes:

> A minor mode I've written that sometimes receives 500-800KB of data as a 
> response from an async network connection (opened via make-network-
> process) takes several seconds to fully receive the data due to the hard 
> coded limit mentioned above and the fact that emacs waits between reads  
> (probably in wait_reading_process_output upon receiving a signal in 
> sigchld_handler).

If you call accept-process-output with this process it should read
whatever is available without delay.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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