diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-12-23 18:27:47 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-12-23 18:27:47 +0000 |
commit | 473725e1a47c65b59dc22d974c0d7dd2d7f7c44c (patch) | |
tree | d87a0111be162564e575f9c64d02b0795920959b /src | |
parent | 4606a8af03983b6a08e9fc05d49c710922242f3e (diff) | |
download | tor-473725e1a47c65b59dc22d974c0d7dd2d7f7c44c.tar.gz tor-473725e1a47c65b59dc22d974c0d7dd2d7f7c44c.zip |
r15648@tombo: nickm | 2007-12-23 13:27:30 -0500
Support building for iPhone; patch from cjacker huang.
svn:r12946
Diffstat (limited to 'src')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index 8be6717a64..5e2610994e 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -67,8 +67,10 @@ /** Upper bound on maximum simultaneous connections; can be lowered by * config file. */ -#if defined(CYGWIN) || defined(__CYGWIN__) -/* http://archives.seul.org/or/talk/Aug-2006/msg00210.html */ +#if defined(CYGWIN) || defined(__CYGWIN__) || defined(IPHONE) +/* Re Cygwin, see http://archives.seul.org/or/talk/Aug-2006/msg00210.html */ +/* For an iPhone, the limit would be closer to 9999. But nobody seems to be + * running a server on an iPhone anyway? */ #define MAXCONNECTIONS 3200 #else /* very high by default. "nobody should need more than this..." */ |