mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
fd61f69077
Main Changes: - Implement a socket transport layer for use by all code that needs to open some kind of "special" socket for network or IPC. - Extensions can register (and override) transports. - Implement ftruncate() on streams via the ioctl-alike option interface. - Implement mmap() on streams via the ioctl-alike option interface. - Implement generic crypto API via the ioctl-alike option interface. (currently only supports OpenSSL, but could support other SSL toolkits, and other crypto transport protocols). Impact: - tcp sockets can be overloaded by the openssl capable sockets at runtime, removing the link-time requirement for ssl:// and https:// sockets and streams. - checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since there are now a range of possible socket-type streams. Working towards: - socket servers using the new transport layer - mmap support under win32 - Cleaner code. # I will be updating the win32 build to add the new files shortly # after this commit.
11 lines
240 B
Plaintext
11 lines
240 B
Plaintext
dnl
|
|
dnl $Id$
|
|
dnl
|
|
|
|
if test "$PHP_OPENSSL" != "no"; then
|
|
PHP_NEW_EXTENSION(openssl, openssl.c xp_ssl.c, $ext_openssl_shared)
|
|
OPENSSL_SHARED_LIBADD="-lcrypto -lssl"
|
|
PHP_SUBST(OPENSSL_SHARED_LIBADD)
|
|
AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])
|
|
fi
|