Andy Green
5948865eb6
beautify fraggle
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-09 09:21:24 +00:00
Andy Green
98a623fa46
clean fraggle
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-08 08:43:59 +00:00
Andy Green
e9739ed203
introduce fraggle test app
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-07 21:40:59 +00:00
Andy Green
9e4c2b6e35
add separate server writeable and change naming to match rest of callbacks
...
Notice that the naming is changed, the notification to a server that it can write to
the client is now called LWS_CALLBACK_SERVER_WRITEABLE, and the notification to a client
that it can write to a server is LWS_CALLBACK_CLIENT_WRITEABLE.
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-07 20:47:39 +00:00
Andy Green
69758fa809
introduce test server close testing switch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-07 07:08:07 +00:00
Andy Green
775884edd2
add compression defeat switch to test client
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-06 13:32:53 +00:00
Andy Green
4cd87a0bd9
introduce internal extensions array
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-06 13:15:32 +00:00
Andy Green
d6e09110bb
introduce struct libwebsocket_extension
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-05 16:12:15 +00:00
Peter Hinz
56885f3084
introduce win32 build capability
...
This adds win32 build compatability to libwebsockets.
The patch is from Peter Hinz, Andy Green has cleaned it up a bit and
possibly broken win32 compatability since I can't test it, so there
may be followup patches. It compiles fine under Linux after this
patch anyway.
Much of the patch is changing a reserved keyword for Visual C compiler
"this" to "context", but there is no real C99 support in the MSFT
compiler even though it is 2011 so C99 style array declarations
have been mangled back into "ancient C" style.
Some windows-isms are also added like closesocket() but these are
quite localized. Win32 random is just using C library random() call
at the moment vs Linux /dev/urandom. canonical hostname detection is
broken in win32 at the moment.
Signed-off-by: Peter Hinz <cerebusrc@gmail.com>
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-02 22:03:47 +00:00
Andy Green
32375b7e9e
introduce listen on specific interface
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-02-19 08:32:53 +00:00
Andy Green
b3ae0a36af
make test client notice if server closed on him
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-02-14 20:25:43 +00:00
Andy Green
62c54d2f56
introduce this param in callback fix server close on client socket
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-02-14 09:14:25 +00:00
Andy Green
e2acfc86b3
use-new-peer-name-api-in-ping.patch
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-02-13 09:05:54 +00:00
Andy Green
38c4f0c556
add-example-protocol-handshake-filter-callback.patch
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-02-13 08:54:05 +00:00
Andy Green
863d4d25e7
add-example-network-filter-callback.patch
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-02-13 08:40:37 +00:00
Andy Green
0703409235
introduce-network-connect-filter-callback.patch
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-02-13 08:37:12 +00:00
Andy Green
2a5aa6537d
add-ext-poll-callbacks-in-extpoll-test.patch
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-02-12 13:15:04 +00:00
Andy Green
2e5de82da2
introduce-libwebsockets-test-server-extpoll.patch
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-02-12 12:07:23 +00:00
Andy Green
5e1fa17a6c
introduce-new-05-socket-closure-rules.patch
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-02-10 09:07:05 +00:00
Andy Green
bfb051f3a3
introduce-ietf-05-framing-and-commandline-options.patch
...
This adds 05 support, and -v switches on test-client and test-ping
to allow setting their ietf protocol version to 4 or 5.
It also optimizes the masking to us a function pointer, which
takes some conditionals out of the fast path.
Signed-off-by: Andy Green <andy@warmcat.com>
2011-02-09 08:49:14 +00:00
Andy Green
1efb63c2be
fix-hostname-to-be-server-name--allow-switches-in-any-order.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-02-06 17:42:06 +00:00
Andy Green
990d5062d0
add-k-opt-to-test-client.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-30 21:04:24 +00:00
Andy Green
8014b29d20
introduce-k-switch-defeat-masking.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-30 20:57:25 +00:00
Andy Green
6a98054a36
fix-context-close.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-30 20:40:32 +00:00
Andy Green
2f4c2be52a
introduce-multiple-client-ping.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-30 12:15:25 +00:00
Andy Green
42f6914d69
clean-style.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-30 08:10:02 +00:00
Andy Green
2ac5a6fce4
fix-host-header-contents--introduce-canonical-hostname-api.patch
...
I?aki pointed out the dummy host field used in client test and ping
is not valid http. This patch changes it to use the actual host
name and adds an api to collect that from the context cheaply.
Reported-by: I?aki Baz Castillo <ibc@aliax.net>
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-28 10:00:18 +00:00
Andy Green
a6cbece1ac
introduce-test-ping-app.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-27 20:06:03 +00:00
Andy Green
b6e6ebeece
uplevel-soname-and-spec-0.3.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-27 06:36:39 +00:00
Andy Green
90c7cbcc00
introduce-ssl-client-connections--flow-control.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-27 06:26:52 +00:00
Andy Green
6964bb5ee5
clean--fix-sigpipe.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-23 16:50:33 +00:00
Andy Green
4739e5c450
introduce-client-support.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-22 12:51:57 +00:00
Andy Green
ed11a02201
add-enable-nofork-config-option.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-20 10:23:50 +00:00
Andy Green
e92cd1764e
expose-event-loop.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-19 13:11:55 +00:00
Andy Green
c87fc2f0a9
use-enum-for-demo-protocols.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2011-01-18 15:29:04 +00:00
Andy Green
0ca6a1719b
clean-and-add-pedantic-remove-long-long.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-12-19 20:50:01 +00:00
Andy Green
b45993caf3
fork-sever-process-and-introduce-broadcast-api.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-12-18 15:13:50 +00:00
Andy Green
24cc0aea16
fix-script-to-synthesize-websocket-url-entirely-from-script-url.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-15 19:39:30 +00:00
Andy Green
6192c74fa7
remove-md5-struct.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-15 12:46:25 +00:00
Andy Green
e77ddd828d
coding-style-cleanups.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-13 10:03:47 +00:00
Andy Green
5195968224
mirror-protocol-chrome-and-firefox.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-12 14:12:13 +00:00
Andy Green
fe2a0d2e88
introduce-mirror-test-protocol.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-12 13:10:40 +00:00
Andy Green
05464c6b7b
remove-last-fork.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-12 10:44:18 +00:00
Andy Green
4f3943a8f8
move-to-automatic-protocol-list-scheme.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-12 10:44:16 +00:00
Andy Green
ab7d933d9d
test-applet-add-reset-button-and-colour-socket-status.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-11 13:19:19 +00:00
Andy Green
462bbf711e
require-specific-test-protocol.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-11 12:52:28 +00:00
Andy Green
ce510c6beb
add-Sec-WebSocket-Draft-and-protocol-autodetect.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-11 12:48:13 +00:00
Andy Green
a2b0ab0e30
add-protocol-filter.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-11 12:28:29 +00:00
Andy Green
6452f1eff6
fix-rx-action-76.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-11 09:22:22 +00:00
Andy Green
7c212ccf3c
break-out-lib-sources.patch
...
Signed-off-by: Andy Green <andy@warmcat.com>
2010-11-08 20:20:42 +00:00