Bug 43244

Summary: apr_socket_t missing dup, dup2 and setaside
Product: APR Reporter: Issac Goldstand <margol>
Component: APRAssignee: Apache Portable Runtime bugs mailinglist <bugs>
Status: NEW ---    
Severity: enhancement Keywords: PatchAvailable
Priority: P2    
Version: HEAD   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: initial (untested!) proof-of-concept (unix only)
initial proof-of-concept (unix only)

Description Issac Goldstand 2007-08-29 16:49:58 UTC
There is currently no functionality available in APR for dup()ing sockets or 
switching pools.
This should be fairly trivial to add based on file-io code...
Comment 1 Issac Goldstand 2007-08-29 16:52:39 UTC
Created attachment 20733 [details]
initial (untested!) proof-of-concept (unix only)

This is untested code, attached more to inspire discussion on what's right and
wrong with it than to be committed as-is to trunk
Comment 2 Issac Goldstand 2007-09-02 02:27:19 UTC
Created attachment 20752 [details]
initial proof-of-concept (unix only)