[exim-dev] [Bug 1131] New: Command executed via ${run} hangs…

Pàgina inicial
Delete this message
Reply to this message
Autor: Holger Weiß
Data:  
A: exim-dev
Assumptes nous: [exim-dev] [Bug 1131] Command executed via ${run} hangs when pipe buffer is filled, [exim-dev] [Bug 1131] Command executed via ${run} hangs when pipe buffer is filled
Assumpte: [exim-dev] [Bug 1131] New: Command executed via ${run} hangs when pipe buffer is filled
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1131
           Summary: Command executed via ${run} hangs when pipe buffer is
                    filled
           Product: Exim
           Version: 4.76
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
        AssignedTo: nigel@???
        ReportedBy: holger@???
                CC: exim-dev@???, heiko@???



Created an attachment (id=490)
--> (http://bugs.exim.org/attachment.cgi?id=490)
Read pipe during execution

When the amount of output created by a command executed via ${run} exceeds the
operating system's pipe buffer size (e.g., 64k on Linux 2.6), the command's
output functions will (usually) block, so that the command will run into Exim's
timeout. This happens because Exim waits for the command to exit before
attempting to read its output. The attached patch fixes this problem.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email