]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agoStarted working on swap headers and meta data. I changed the Get/Add
wessels [Tue, 3 Feb 1998 14:35:25 +0000 (14:35 +0000)] 
Started working on swap headers and meta data.  I changed the Get/Add
routines to something which Packs/Unpacks the whole buffer to/from a
linked list of TLV structures.  The hard part now is that the swapin
and swapout routines most certainly need to be modified to have
special read/write meta header code.

27 years agolint
wessels [Tue, 3 Feb 1998 11:21:10 +0000 (11:21 +0000)] 
lint

27 years agostoreRelease() can return void
wessels [Tue, 3 Feb 1998 10:08:50 +0000 (10:08 +0000)] 
storeRelease() can return void

27 years agoSTORE.C SPLIT
wessels [Tue, 3 Feb 1998 08:16:54 +0000 (08:16 +0000)] 
STORE.C SPLIT
Also made MD5 cache keys standard

27 years agoFrom: dale@iipo.ctam.bitmcnit.bryansk.su (Dale)
wessels [Tue, 3 Feb 1998 04:59:43 +0000 (04:59 +0000)] 
From:    dale@iipo.ctam.bitmcnit.bryansk.su (Dale)
ARP ACL mem leak fixes

27 years ago1.2.beta13
wessels [Tue, 3 Feb 1998 04:34:06 +0000 (04:34 +0000)] 
1.2.beta13

27 years agogindent
wessels [Tue, 3 Feb 1998 04:16:08 +0000 (04:16 +0000)] 
gindent

27 years agoStewart Forster Jumbo Patch
wessels [Tue, 3 Feb 1998 04:14:49 +0000 (04:14 +0000)] 
Stewart Forster Jumbo Patch

        - Completely rewritten aiops.c that creates and manages a pool of
          threads so thread creation overhead is eliminated
        - Lots of extra debugging
        - Lots of mods to store.c to detect and cancel outstanding ASYNC ops.
          Code is not proven exhaustive and there are definately still cases
          to be found where outstanding disk ops aren't cancelled properly.
        - Changes to call interface to a few routines to support disk op
          `tagging', so operations can be cleanly cancelled on store_abort()s.
        - Implementation of swap.state files as transaction logs.  Removed
          objects are now noted with a negative object size.  This allows
          reliatively clean rebuilds from non-clean shutdowns.
        - Now that the swap.state files are transaction logs, there's now no
          need to validate by stat()ing.  All the validation procedure does
          is now just set the valid bit AFTER all the swap.state files have
          been read, because by that time, only valid objects can be left.
          Object still need to be marked invalid when reading the swap.state
          file because there's no guarantee the file has been retaken or
          deleted.
        - An fstat() call is now added after every storeSwapInFileOpened() so
          object sizes can be checked.   Added code to storeRelease() the
          object if the sizes don't match.
        - #defining USE_ASYNC_IO now uses the async unlink() rather than
          unlinkd()
        - #defining MONOTONIC_STORE will support the creation of disk objects
          clustered into directories.  This GREATLY improves disk performance
          (factor of 3) over old `write-over-old-object' method.  If using the
          MONOTONIC_STORE, the {get/put}_unusedFileno stack stuff is disabled.
          This is actually a good thing and greatly reduces the risk of serving
          up bad objects.
        - Fixed unlink() in storeWriteCleanLogs to be real unlink() rather
          than ASYNC/unlinkd unlinks.  swap.state.new files were being removed
          just after they were created due to delayed unlinks.
        - Disabled various assertions and made these into debug warning
          messages to make the code more stable until the bugs can be tracked
          down.
        - Added most of Michael O'Reilly's patches which included many bug
          fixes.  Ask him for full details.
        - Moved aio_check_callbacks in comm_{poll|select}().  It was called
          after the fdset had been built which was wrong because the callbacks
          were changing the state of the read/write handlers prior to the
          poll/select() calls.

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Tue, 3 Feb 1998 02:49:53 +0000 (02:49 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>
Squid-1.2.beta11: Support for NLST listings
      Format NLST listings, and inform the user that the NLST
      (plain) format is available when we find a LIST listing
      that we don't understand.
Squid-1.2.beta11: SIZE on binary FTP transfers
      Use SIZE on Binary transfers, and not ASCII. The condition
      was inversed, making squid use SIZE on ASCII transfers.
Squid-1.2.beta11: Enable virtual and Host: based acceleration in
      order to be able to use Squid as a transparent proxy without
      breaking either virtual servers or clients not sending Host:
      header the order of the virtual and Host: based acceleration
      needs to be swapped, giving Host: a higher precendence than
      virtual host.
Squid-1.2.beta11: Use memmove/bcopy as detected by configure
      Some systems does not have memmove, but have the older bcopy
      implementation.

27 years agoupdate
wessels [Tue, 3 Feb 1998 02:40:35 +0000 (02:40 +0000)] 
update

27 years agoFrom: Masashi Fujita <objectx@bandit.co.jp>
wessels [Tue, 3 Feb 1998 02:39:21 +0000 (02:39 +0000)] 
From:    Masashi Fujita <objectx@bandit.co.jp>
        1) --enable-acltree message displayed while running configure
           seems to be reveresed (typo?).
        2) --enable-dlmalloc seems to be of no effect.
           (src/Makefile doesn't refer @LIB_MALLOC@.)
        3) Could not build squid outside of source tree.

27 years agoa little swap meta debugging, and added offset to file_write()
wessels [Mon, 2 Feb 1998 14:20:53 +0000 (14:20 +0000)] 
a little swap meta debugging, and added offset to file_write()

27 years agoadding
wessels [Sat, 31 Jan 1998 12:34:57 +0000 (12:34 +0000)] 
adding

27 years ago - Combined various interprocess communication setup functions
wessels [Sat, 31 Jan 1998 12:31:52 +0000 (12:31 +0000)] 
- Combined various interprocess communication setup functions
  into ipcCreate().
- Removed some leftover ICP_HIT_OBJ things.
- Removed cacheinfo and proto_count() and friends; these are to
  be replaced in functionality by StatCounters and 5/60 minute
  average views via cachemgr.
Changes to squid-1.2.beta11 (Jan 6, 1998):

27 years agoremove src/options.h
wessels [Sat, 31 Jan 1998 12:00:51 +0000 (12:00 +0000)] 
remove src/options.h

27 years agoupdate
wessels [Sat, 31 Jan 1998 12:00:21 +0000 (12:00 +0000)] 
update

27 years agoadding
wessels [Mon, 12 Jan 1998 11:57:23 +0000 (11:57 +0000)] 
adding

27 years agoupdate
wessels [Mon, 12 Jan 1998 11:32:26 +0000 (11:32 +0000)] 
update

27 years agogindent
wessels [Mon, 12 Jan 1998 11:30:35 +0000 (11:30 +0000)] 
gindent

27 years agonew memory allocation for fixed-size blocks
wessels [Mon, 12 Jan 1998 11:29:54 +0000 (11:29 +0000)] 
new memory allocation for fixed-size blocks

27 years agoFixed Connection: header handling, but testing needed
kostas [Sat, 10 Jan 1998 15:15:13 +0000 (15:15 +0000)] 
Fixed Connection: header handling, but testing needed

27 years agoAt last, added meta-data to swap files. Still testing
kostas [Sat, 10 Jan 1998 14:50:33 +0000 (14:50 +0000)] 
At last, added meta-data to swap files. Still testing

27 years agoupdate
wessels [Fri, 9 Jan 1998 15:09:25 +0000 (15:09 +0000)] 
update

27 years agofix the case when a hostnames IP address jumps from one network to
wessels [Fri, 9 Jan 1998 15:06:32 +0000 (15:06 +0000)] 
fix the case when a hostnames IP address jumps from one network to
another

27 years agoFixed coredump for
wessels [Fri, 9 Jan 1998 08:18:12 +0000 (08:18 +0000)] 
Fixed coredump for
GET http://foo HTTP/1.0\r\n\r\n\r\n

27 years agoFixed bug with looking up no_addr in the radix tree.
kostas [Fri, 9 Jan 1998 06:41:23 +0000 (06:41 +0000)] 
Fixed bug with looking up no_addr in the radix tree.

27 years agomissing semicolon in sh command
wessels [Fri, 9 Jan 1998 04:01:04 +0000 (04:01 +0000)] 
missing semicolon in sh command

27 years agoautoconf
wessels [Thu, 8 Jan 1998 12:19:04 +0000 (12:19 +0000)] 
autoconf

27 years agotypo
wessels [Thu, 8 Jan 1998 10:39:22 +0000 (10:39 +0000)] 
typo

27 years agoupdate
wessels [Thu, 8 Jan 1998 06:15:44 +0000 (06:15 +0000)] 
update

27 years agoFixed looping for cache hits on HEAD requests
wessels [Thu, 8 Jan 1998 06:15:23 +0000 (06:15 +0000)] 
Fixed looping for cache hits on HEAD requests

27 years agoFrom: Eric Stern <estern@squall.mgl.ca>
wessels [Thu, 8 Jan 1998 05:46:11 +0000 (05:46 +0000)] 
From:    Eric Stern <estern@squall.mgl.ca>
not allocating enough for rewritten URL in parseHttpRequest()

27 years agoFrom: Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
wessels [Thu, 8 Jan 1998 05:45:23 +0000 (05:45 +0000)] 
From:    Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
Year-2000 (Y2K) fixes

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Thu, 8 Jan 1998 04:16:25 +0000 (04:16 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>
* Symlink destinations in FTP listings
* @SQUID_PTHREAD_LIB@ and not @PTHREADLIB@ when linking squid, to only
  link in -lpthreads when async-io is used.
* --enable-kill-parent-hack instead of --enable-kill-parent

New changes

* -D_REENTRANT when compiling with pthreads (--enable-async-io)
* Disable use of SIGUSR1,2 when using linuxthreads (-lpthreads on linux)
  linuxthreads uses these two signals internally, since there is no
  other available signals to use..

27 years agoremoved mysterious tabs
wessels [Thu, 8 Jan 1998 04:14:24 +0000 (04:14 +0000)] 
removed mysterious tabs

27 years agoadding
wessels [Wed, 7 Jan 1998 13:42:52 +0000 (13:42 +0000)] 
adding

27 years agos/ICMP/Pinger/
wessels [Wed, 7 Jan 1998 05:58:08 +0000 (05:58 +0000)] 
s/ICMP/Pinger/

27 years agofix cache key variable (was char *)
wessels [Wed, 7 Jan 1998 05:55:42 +0000 (05:55 +0000)] 
fix cache key variable (was char *)

27 years agocasts on hash_first() to make warnings go away
wessels [Wed, 7 Jan 1998 05:44:03 +0000 (05:44 +0000)] 
casts on hash_first() to make warnings go away

27 years agochange store_avg_object_size to 13kb
wessels [Wed, 7 Jan 1998 05:00:29 +0000 (05:00 +0000)] 
change store_avg_object_size to 13kb

27 years ago1.2.beta11
wessels [Wed, 7 Jan 1998 04:43:34 +0000 (04:43 +0000)] 
1.2.beta11

27 years agoupdate
wessels [Wed, 7 Jan 1998 04:43:17 +0000 (04:43 +0000)] 
update

27 years agoupdate
wessels [Wed, 7 Jan 1998 04:43:16 +0000 (04:43 +0000)] 
update

27 years agoremove ifdefd out USE_ICP_HIT_OBJ code
wessels [Wed, 7 Jan 1998 01:15:28 +0000 (01:15 +0000)] 
remove ifdefd out USE_ICP_HIT_OBJ code

27 years agoFixed up 'fooConnectionsClose()' functions. created icpConnectionsClose()
wessels [Wed, 7 Jan 1998 01:12:22 +0000 (01:12 +0000)] 
Fixed up 'fooConnectionsClose()' functions.  created icpConnectionsClose()
and clientHttpConnectionsClose().  For the UDP sockets, fixed a
bug which caused us to try closing the same FD twice.

27 years agocopied over v1.1 -z semantics
wessels [Tue, 6 Jan 1998 14:11:53 +0000 (14:11 +0000)] 
copied over v1.1 -z semantics

27 years agoremove debugs
wessels [Tue, 6 Jan 1998 12:40:43 +0000 (12:40 +0000)] 
remove debugs

27 years agoupdate
wessels [Tue, 6 Jan 1998 12:19:01 +0000 (12:19 +0000)] 
update

27 years agoremove UNUSED and OLD code
wessels [Tue, 6 Jan 1998 12:15:39 +0000 (12:15 +0000)] 
remove UNUSED and OLD code

27 years agomake checkFailureRatio() work again. Also make 'request_failure_ratio'
wessels [Tue, 6 Jan 1998 12:12:07 +0000 (12:12 +0000)] 
make checkFailureRatio() work again.  Also make 'request_failure_ratio'
global and show its value in the cachemgr info page.

27 years agoadding
wessels [Tue, 6 Jan 1998 09:53:03 +0000 (09:53 +0000)] 
adding

27 years agoassert dns_error_message exists for COMM_ERR_DNS callbacks
wessels [Tue, 6 Jan 1998 09:47:14 +0000 (09:47 +0000)] 
assert dns_error_message exists for COMM_ERR_DNS callbacks

27 years agostew didn't really want to write clean logs from the tail just yet.
wessels [Tue, 6 Jan 1998 07:42:12 +0000 (07:42 +0000)] 
stew didn't really want to write clean logs from the tail just yet.

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Tue, 6 Jan 1998 07:27:40 +0000 (07:27 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>

Here is one big patch, with all the changes I have sent for beta8 that
was not in beta10 and some new ones.

Added remaining options to configure
--enable-new-storekey=[sha|md5(|url)] (was --enable-hashkey)
--enable-acltree
--enable-icmp
--enable-delay-hack
--enable-useragent-log
--enable-kill-parent  (this should be named -hack)
--enable-snmp
--enable-time-hack
--enable-cachemgr-hostname[=hostname]   (new)
--enable-arp-acl  (new)

Added Doug Lea malloc-2.6.4 to the distribution, so that people easily
can try a decent malloc package if they syspect their malloc is broken.
--enable-dlmalloc

Let configure determine witch parts that needs to be compiled,
instead of wrapping the sourcefiles in #ifdef

Moved all the --enable... to the beginning of configure.

Deleted src/options.h. This does NOT work well together with autoconf. I
have instead moved the comments to acconfig.h, and added a small header
with some instructions on how the thing can be configured (all is
visible in include/autoconfig.h[.in]).

Some malloc()/free() calls replaced with x-versions.

Made XMALLOC_DEBUG_COUNT working again. Requires a small stub function
for client and cachemgr.cgi (lib/stub_memaccount.c).

Tried to remove most compile-time warnings.

27 years agoline continuation
wessels [Tue, 6 Jan 1998 06:19:50 +0000 (06:19 +0000)] 
line continuation

27 years agoadd prototypes
wessels [Tue, 6 Jan 1998 06:19:37 +0000 (06:19 +0000)] 
add prototypes

27 years agoupdate
wessels [Tue, 6 Jan 1998 06:19:24 +0000 (06:19 +0000)] 
update

27 years agoFrom: "Jean-Claude MICHOT" <jcmichot@teaser.fr>
wessels [Tue, 6 Jan 1998 04:44:39 +0000 (04:44 +0000)] 
From:    "Jean-Claude MICHOT" <jcmichot@teaser.fr>
Fixes for QNX, mostly related to sscanf().

27 years agomove min/max macros to squid.h and call them XMIN, XMAX
wessels [Tue, 6 Jan 1998 04:18:12 +0000 (04:18 +0000)] 
move min/max macros to squid.h and call them XMIN, XMAX

27 years agobuffered writes in storeWriteCleanLog() (Stewart Forster)
wessels [Tue, 6 Jan 1998 04:13:59 +0000 (04:13 +0000)] 
buffered writes in storeWriteCleanLog() (Stewart Forster)

27 years agoexpand a tab
wessels [Tue, 6 Jan 1998 03:49:11 +0000 (03:49 +0000)] 
expand a tab

27 years agocleanup
wessels [Tue, 6 Jan 1998 03:47:37 +0000 (03:47 +0000)] 
cleanup

27 years agoCLEANUP:
wessels [Tue, 6 Jan 1998 03:42:53 +0000 (03:42 +0000)] 
CLEANUP:
ANSI function defs
s/bcopy/xmemcpy/
prototypes

27 years agocompiler warning cleanup
wessels [Tue, 6 Jan 1998 02:56:07 +0000 (02:56 +0000)] 
compiler warning cleanup

27 years agonon-gcc complains about
wessels [Tue, 6 Jan 1998 02:53:29 +0000 (02:53 +0000)] 
non-gcc complains about
"client_side.c", line 1221: void function cannot return value

27 years agochanged MD5_memcpy() args to be UNSIGNED char
wessels [Tue, 6 Jan 1998 02:49:11 +0000 (02:49 +0000)] 
changed MD5_memcpy() args to be UNSIGNED char

27 years agofix five-min average stuff
wessels [Mon, 5 Jan 1998 12:14:16 +0000 (12:14 +0000)] 
fix five-min average stuff

27 years agomust include config.h for HAVE_SNPRINTF and HAVE_VSNPRINTF defs
wessels [Mon, 5 Jan 1998 07:59:31 +0000 (07:59 +0000)] 
must include config.h for HAVE_SNPRINTF and HAVE_VSNPRINTF defs

27 years agoadd snprintf.h
wessels [Mon, 5 Jan 1998 07:57:53 +0000 (07:57 +0000)] 
add snprintf.h

27 years agoupdate
wessels [Mon, 5 Jan 1998 07:46:59 +0000 (07:46 +0000)] 
update

27 years ago- Changed algorithm for determining alive/dead state of peers.
wessels [Mon, 5 Jan 1998 07:45:43 +0000 (07:45 +0000)] 
- Changed algorithm for determining alive/dead state of peers.
  Instead of using a fixed number of unacknowledged ICP replies,
  it is now based on timeouts.  If there are no ICP replies
  received from a peer within 'dead_peer_timeout' seconds, then
  we call it dead.
- Added calls to getCurrentTime() in comm_{select,poll}_incoming().
- Fixed shutdown bug when the incoming and outgoing ICP socket is
  the same file descriptor.

27 years agoFix memmove() arg bug. should be conn->in.offset, not in.size
wessels [Sun, 4 Jan 1998 13:57:27 +0000 (13:57 +0000)] 
Fix memmove() arg bug.   should be conn->in.offset, not in.size

27 years agomath precedence bugfix
wessels [Sun, 4 Jan 1998 12:43:48 +0000 (12:43 +0000)] 
math precedence bugfix

27 years agowhy is poll() not being skipped on OSF?
wessels [Sun, 4 Jan 1998 07:17:52 +0000 (07:17 +0000)] 
why is poll() not being skipped on OSF?

27 years agoWe were erroneously assuming that non-200 replies would have a content-length
wessels [Sat, 3 Jan 1998 12:27:17 +0000 (12:27 +0000)] 
We were erroneously assuming that non-200 replies would have a content-length
if there were a reply body.  RFC 2068 does not require this.  If there is
no content-length, then we can't have a persistent connection.

27 years agomake some cbdata function args const
wessels [Sat, 3 Jan 1998 06:41:02 +0000 (06:41 +0000)] 
make some cbdata function args const

27 years agoUse cbdataLock etc on the checklist->access_list structures so we
wessels [Sat, 3 Jan 1998 06:39:54 +0000 (06:39 +0000)] 
Use cbdataLock etc on the checklist->access_list structures so we
don't dump core during reconfigure.

27 years agono change, just a note that we do not need snprintf here
kostas [Sat, 3 Jan 1998 05:45:03 +0000 (05:45 +0000)] 
no change, just a note that we do not need snprintf here

27 years agocode cleanup+security (sprintf->snprintf)
kostas [Sat, 3 Jan 1998 05:39:14 +0000 (05:39 +0000)] 
code cleanup+security (sprintf->snprintf)

27 years agoadd ident tag
wessels [Sat, 3 Jan 1998 05:04:36 +0000 (05:04 +0000)] 
add ident tag

27 years ago - Fixed some dnsserver-related reconfigure bugs. Need to
wessels [Sat, 3 Jan 1998 05:03:40 +0000 (05:03 +0000)] 
    - Fixed some dnsserver-related reconfigure bugs. Need to
          use cbdataLock, etc in fqdncache.c.  Also don't want to
          use ipcacheQueueDrain() and fqdncacheQueueDrain().

27 years agoWe must make the ICP reply callback for neighbor MISSes!
wessels [Sat, 3 Jan 1998 04:59:47 +0000 (04:59 +0000)] 
We must make the ICP reply callback for neighbor MISSes!

27 years agoremove static netdbGetFirst() and netdbGetNext()
wessels [Sat, 3 Jan 1998 04:55:05 +0000 (04:55 +0000)] 
remove static netdbGetFirst() and netdbGetNext()

27 years agoasnFreeMemory calls asnCleanup for purify.
kostas [Sat, 3 Jan 1998 04:52:58 +0000 (04:52 +0000)] 
asnFreeMemory calls asnCleanup for purify.

27 years agouse PAGESIZE value if defined
wessels [Sat, 3 Jan 1998 04:52:40 +0000 (04:52 +0000)] 
use PAGESIZE value if defined

27 years agotest for struct rusage needs to include <sys/time.h
wessels [Sat, 3 Jan 1998 04:49:40 +0000 (04:49 +0000)] 
test for struct rusage needs to include <sys/time.h

27 years agouse strchr(), not index()
wessels [Sat, 3 Jan 1998 04:35:37 +0000 (04:35 +0000)] 
use strchr(), not index()

27 years agocheck for getpagesize()
wessels [Sat, 3 Jan 1998 04:35:13 +0000 (04:35 +0000)] 
check for getpagesize()

27 years agoupdate
wessels [Sat, 3 Jan 1998 02:56:38 +0000 (02:56 +0000)] 
update

27 years agoReset Config.npeers to zero in free_peer()
wessels [Sat, 3 Jan 1998 02:55:28 +0000 (02:55 +0000)] 
Reset Config.npeers to zero in free_peer()

27 years agoFix pointer bug when freeing ASN ACLs
wessels [Sat, 3 Jan 1998 02:52:23 +0000 (02:52 +0000)] 
Fix pointer bug when freeing ASN ACLs

27 years agofake rusage needs ru_utime
wessels [Sat, 3 Jan 1998 02:27:01 +0000 (02:27 +0000)] 
fake rusage needs ru_utime

27 years agoupdate
wessels [Sat, 3 Jan 1998 01:23:42 +0000 (01:23 +0000)] 
update

27 years agoupdate
wessels [Sat, 3 Jan 1998 01:17:50 +0000 (01:17 +0000)] 
update

27 years agoFrom: "Michael O'Reilly" <michael@metal.iinet.net.au>
wessels [Sat, 3 Jan 1998 01:15:32 +0000 (01:15 +0000)] 
From:    "Michael O'Reilly" <michael@metal.iinet.net.au>
here's a patch to fix it. (The threads library is closing FD 0 for
some reason on the fork(). It's a bug in the threads library, but this
is a work around.. )

27 years agoupdate
wessels [Sat, 3 Jan 1998 01:09:55 +0000 (01:09 +0000)] 
update

27 years agoFrom: "Michael O'Reilly" <michael@metal.iinet.net.au>
wessels [Sat, 3 Jan 1998 01:09:20 +0000 (01:09 +0000)] 
From:    "Michael O'Reilly" <michael@metal.iinet.net.au>
In clientRedirectDone(), xstrdup request->headers instead of copy by
reference.

27 years agoTail-chasing because struct rusage not defined on Solaris. The real
wessels [Sat, 3 Jan 1998 01:04:21 +0000 (01:04 +0000)] 
Tail-chasing because struct rusage not defined on Solaris.  The real
problem was 'typedef void struct' instead of 'typedef struct'.  However,
we also now have a configure test for 'struct rusage' instead of
just using HAVE_GETRUSAGE.

27 years agoupdate
wessels [Fri, 2 Jan 1998 23:38:45 +0000 (23:38 +0000)] 
update

27 years agoUse the short 50ms timeout in comm_poll() only when USE_ASYNC_IO
wessels [Fri, 2 Jan 1998 23:30:14 +0000 (23:30 +0000)] 
Use the short 50ms timeout in comm_poll() only when USE_ASYNC_IO
is defined