On Mon, Dec 10, 2007 at 02:39:19PM -0600, William A. Rowe, Jr. wrote:
> Jump into the ftp_cmd_eprt function...

yeah, this is as awkward case that does go through a text-lookup :( The
patch makes sense for that case, but it still feels a bit strange
putting it in APR.  

> Now; are you suggesting that it would be more efficient and effective
> if we cloned the local_addr structure, modified the port and directly
> used the clone to apr_socket_bind rather than going through these extra
> apr_sockaddr_info_get gymnastics?
> 
> If so, what is the proper method to clone an sa in the apr schema?

Hmm, we should probably look modifying apr_sockaddr_vars_set or adding a
call for resetting the port to zero reliably.

-- 
Colm MacCárthaigh                        Public Key: [EMAIL PROTECTED]

Reply via email to