author | Alex Chiu <Alex.Chiu@Oracle.COM> |
Thu, 14 Jun 2012 11:34:02 -0700 | |
changeset 869 | ab908b713ec5 |
parent 838 | e3efa8edf0c1 |
permissions | -rw-r--r-- |
838
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
1 |
--- a/src/inet.c |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
2 |
+++ b/src/inet.c |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
3 |
@@ -1238,7 +1238,7 @@ conn_t *pr_inet_openrw(pool *p, conn_t *c, pr_netaddr_t *addr, int strm_type, |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
4 |
res->mode = CM_OPEN; |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
5 |
|
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
6 |
#if defined(HAVE_STROPTS_H) && defined(I_SRDOPT) && defined(RPROTDIS) && \ |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
7 |
- defined(SOLARIS2) |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
8 |
+ defined(SOLARIS2) && !defined(SOLARIS2_11) |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
9 |
/* This is needed to work around control messages in STREAMS devices |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
10 |
* (as on Solaris 9/NFS). |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
11 |
*/ |
e3efa8edf0c1
7149865 protftpd perfomance is unacceptable on Solaris
Tomas Klacko <tomas.klacko@oracle.com>
parents:
diff
changeset
|
12 |