Bug 43244 - apr_socket_t missing dup, dup2 and setaside
Summary: apr_socket_t missing dup, dup2 and setaside
Status: NEW
Alias: None
Product: APR
Classification: Unclassified
Component: APR (show other bugs)
Version: HEAD
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2007-08-29 16:49 UTC by Issac Goldstand
Modified: 2007-09-04 03:30 UTC (History)
0 users



Attachments
initial (untested!) proof-of-concept (unix only) (7.72 KB, patch)
2007-08-29 16:52 UTC, Issac Goldstand
Details | Diff
initial proof-of-concept (unix only) (7.55 KB, patch)
2007-09-02 02:27 UTC, Issac Goldstand
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)