commit | 0d33833764aadee6154cc88c02af0682b825ff22 | [log] [tgz] |
---|---|---|
author | Andy Green <andy@warmcat.com> | Sat Feb 12 11:57:43 2011 +0000 |
committer | Andy Green <andy.green@linaro.org> | Sat Feb 12 11:57:43 2011 +0000 |
tree | d6449feab1878fa3091078917533ce0d95f71db4 | |
parent | 44eee688ac9e15d924be90e85efb9bd26d02c482 [diff] |
decouple-service-from-fd-array-index.patch This patch removes the relationship between position in the pollfd[] array and any meaning about the type of socket. It also refactors the service loop so there is a per-fd function that detects the mode of the connection and services it accordingly. The context wsi * array is removed and a hashtable introduced allowing fast wsi lookup from just the fd that it is associated with Signed-off-by: Andy Green <andy@warmcat.com>