blob: 9a6ab157e2d8f136c0fb0efd4526aa1288a1276d [file] [log] [blame]
Andy Greena35c86f2013-01-31 10:16:44 +08001Changelog
2---------
3
Andy Green7b405452013-02-01 10:50:15 +08004(development since 1.1....)
5
6User api additions
7------------------
8
9 - lws_get_library_version() returns a const char * with a string like
10 "1.1 9e7f737", representing the library version from configure.ac
11 and the git HEAD hash the library was built from
12
13
Andy Greendf60b0c2013-02-06 19:57:12 +090014New features
15------------
16
17Cmake project file added, aimed initially at Windows support: this replaces
18the visual studio project files that were in the tree until now.
19
20
Andy Green7b405452013-02-01 10:50:15 +080021
Andy Greenbd1132f2013-01-31 19:53:05 +080022v1.1-chrome26-firefox18
Andy Greena35c86f2013-01-31 10:16:44 +080023=======================
24
25Diffstat
26--------
27
28 Makefile.am | 4 +
29 README-test-server | 291 ---
30 README.build | 239 ++
31 README.coding | 138 ++
32 README.rst | 72 -
33 README.test-apps | 272 +++
34 configure.ac | 116 +-
35 lib/Makefile.am | 55 +-
36 lib/base64-decode.c | 5 +-
37 lib/client-handshake.c | 121 +-
38 lib/client-parser.c | 394 ++++
39 lib/client.c | 807 +++++++
40 lib/daemonize.c | 212 ++
41 lib/extension-deflate-frame.c | 132 +-
42 lib/extension-deflate-stream.c | 12 +-
43 lib/extension-x-google-mux.c | 1223 ----------
44 lib/extension-x-google-mux.h | 96 -
45 lib/extension.c | 8 -
46 lib/getifaddrs.c | 271 +++
47 lib/getifaddrs.h | 76 +
48 lib/handshake.c | 582 +----
49 lib/libwebsockets.c | 2493 ++++++---------------
50 lib/libwebsockets.h | 115 +-
51 lib/md5.c | 217 --
52 lib/minilex.c | 440 ++++
53 lib/output.c | 628 ++++++
54 lib/parsers.c | 2016 +++++------------
55 lib/private-libwebsockets.h | 284 +--
56 lib/server-handshake.c | 275 +++
57 lib/server.c | 377 ++++
58 libwebsockets-api-doc.html | 300 +--
59 m4/ignore-me | 2 +
60 test-server/Makefile.am | 111 +-
61 test-server/libwebsockets.org-logo.png | Bin 0 -> 7029 bytes
62 test-server/test-client.c | 45 +-
63 test-server/test-echo.c | 330 +++
64 test-server/test-fraggle.c | 20 +-
65 test-server/test-ping.c | 22 +-
66 test-server/test-server-extpoll.c | 554 -----
67 test-server/test-server.c | 349 ++-
68 test-server/test.html | 3 +-
69 win32port/zlib/ZLib.vcxproj | 749 ++++---
70 win32port/zlib/ZLib.vcxproj.filters | 188 +-
71 win32port/zlib/adler32.c | 348 ++-
72 win32port/zlib/compress.c | 160 +-
73 win32port/zlib/crc32.c | 867 ++++----
74 win32port/zlib/crc32.h | 882 ++++----
75 win32port/zlib/deflate.c | 3799 +++++++++++++++-----------------
76 win32port/zlib/deflate.h | 688 +++---
77 win32port/zlib/gzclose.c | 50 +-
78 win32port/zlib/gzguts.h | 325 ++-
79 win32port/zlib/gzlib.c | 1157 +++++-----
80 win32port/zlib/gzread.c | 1242 ++++++-----
81 win32port/zlib/gzwrite.c | 1096 +++++----
82 win32port/zlib/infback.c | 1272 ++++++-----
83 win32port/zlib/inffast.c | 680 +++---
84 win32port/zlib/inffast.h | 22 +-
85 win32port/zlib/inffixed.h | 188 +-
86 win32port/zlib/inflate.c | 2976 +++++++++++++------------
87 win32port/zlib/inflate.h | 244 +-
88 win32port/zlib/inftrees.c | 636 +++---
89 win32port/zlib/inftrees.h | 124 +-
90 win32port/zlib/trees.c | 2468 +++++++++++----------
91 win32port/zlib/trees.h | 256 +--
92 win32port/zlib/uncompr.c | 118 +-
93 win32port/zlib/zconf.h | 934 ++++----
94 win32port/zlib/zlib.h | 3357 ++++++++++++++--------------
95 win32port/zlib/zutil.c | 642 +++---
96 win32port/zlib/zutil.h | 526 ++---
97 69 files changed, 19556 insertions(+), 20145 deletions(-)
98
99user api changes
100----------------
101
102 - libwebsockets_serve_http_file() now takes a context as first argument
103
104 - libwebsockets_get_peer_addresses() now takes a context and wsi as first
105 two arguments
106
107
108user api additions
109------------------
110
111 - lwsl_...() logging apis, default to stderr but retargetable by user code;
112 may be used also by user code
113
114 - lws_set_log_level() set which logging apis are able to emit (defaults to
115 notice, warn, err severities), optionally set the emit callback
116
117 - lwsl_emit_syslog() helper callback emits to syslog
118
119 - lws_daemonize() helper code that forks the app into a headless daemon
120 properly, maintains a lock file with pid in suitable for sysvinit etc to
121 control lifecycle
122
123 - LWS_CALLBACK_HTTP_FILE_COMPLETION callback added since http file
124 transfer is now asynchronous (see test server code)
125
126 - lws_frame_is_binary() from a wsi pointer, let you know if the received
127 data was sent in BINARY mode
128
129
130user api removals
131-----------------
132
133 - libwebsockets_fork_service_loop() - no longer supported (had intractable problems)
134 arrange your code to act from the user callback instead from same
135 process context as the service loop
136
137 - libwebsockets_broadcast() - use libwebsocket_callback_on_writable[_all_protocol]()
138 instead from same process context as the service loop. See the test apps
139 for examples.
140
141 - x-google-mux() removed until someone wants it
142
143 - pre -v13 (ancient) protocol support removed
144
145
146New features
147------------
148
149 - echo test server and client compatible with echo.websocket.org added
150
151 - many new configure options (see README.build) to reduce footprint of the
152 library to what you actually need, eg, --without-client and
153 --without-server
154
155 - http + websocket server can build to as little as 12K .text for ARM
156
157 - no more MAX_CLIENTS limitation; adapts to support the max number of fds
158 allowed to the process by ulimit, defaults to 1024 on Fedora and
159 Ubuntu. Use ulimit to control this without needing to configure
160 the library. Code here is smaller and faster.
161
162 - adaptive ratio of listen socket to connection socket service allows
163 good behaviour under Apache ab test load. Tested with thousands
164 of simultaneous connections
165
166 - reduction in per-connection memory footprint by moving to a union to hold
167 mutually-exclusive state for the connection
168
169 - robustness: Out of Memory taken care of for all allocation code now
170
171 - internal getifaddrs option if your toolchain lacks it (some uclibc)
172
173 - configurable memory limit for deflate operations
174
175 - improvements in SSL code nonblocking operation, possible hang solved,
176 some SSL operations broken down into pollable states so there is
177 no library blocking, timeout coverage for SSL_connect
178
179 - extpoll test server merged into single test server source
180
181 - robustness: library should deal with all recoverable socket conditions
182
183 - rx flowcontrol for backpressure notification fixed and implmeneted
184 correctly in the test server
185
186 - optimal lexical parser added for header processing; all headers in a
187 single 276-byte state table
188
189 - latency tracking api added (configure --with-latency)
190
191 - Improved in-tree documentation, REAME.build, README.coding,
192 README.test-apps, changelog
193
194 - Many small fixes
195
196
197v1.0-chrome25-firefox17 (6cd1ea9b005933f)