[CentOS] cURL use only even local port number

Thu Jan 26 15:20:50 UTC 2017
Shigeru Yanagibayashi <yana at wincrew.co.jp>

Hi all,

I use cURL to connect external https server from local apache php application.
I found this application only use even local port number and never use odd port number.

My server info is as follows:

# uname -r
2.6.32-642.3.1.el6.x86_64

# sysctl -a | grep net.ipv4.ip_local
net.ipv4.ip_local_port_range = 32768	60999
net.ipv4.ip_local_reserved_ports = 

I want cURL use odd and even number as local port.

Any idea?

Thank you.
Yana