Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 284873] [tcf][agent] Zerocopy splice from file descriptor

https://bugs.eclipse.org/bugs/show_bug.cgi?id=284873  
Product/Component: Target Management / TCF

Eugene Tarassov <eugene.tarassov@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Eugene Tarassov <eugene.tarassov@xxxxxxxxxxxxx>  2009-07-29 17:42:01 -0400 ---
I have committed the patch, with some changes:

1. To improve portability splice is disabled if not available - the code checks
presence of macro SPLICE_F_MOVE.
2. Changed C++ style local var declarations to be C compatible.
3. Improved handling of EOF and read errors: splice_block_stream() now returns
number of bytes transferred, or -1 and sets errno; json_splice_binary() now
reports EOF and errors by raising exceptions.

Thanks for the contribution.

Eugene.


-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


Back to the top