NEWS 8.77 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
spdylay 0.3.6
=============

Release Note
------------

This release fixes bugs in configure command-line options and spdycat.
The client side header block compression was disabled to avoid the
attack. The on_ctrl_not_send_callback now gets
SPDYLAY_ERR_FRAME_TOO_LARGE as error code when packed frame is too
large to fit in SPDY frame size limit. Shrpx SPDY proxy mode now
announces SPDY/3 as default protocol.

Changes
-------

* shrpx: Made SPDY/3 default protocol in SPDY proxy mode.  The reason
  why we choose SPDY/2 as default for SPDY prxy was due to Chrome's
  window update bug. Now its fix is available in Chrome stable, we
  make SPDY/3 as default.

* spdycat: Just return in check_response_header if stream_user_data is
  NULL.

* spdycat: Add missing break after handling -H option

* configure: Fix bug that $withval is used where $enableval should be
  used

* shrpx: Use request HTTP version in HTTPS upstream response

* shrpx: Log when SPDY stream is closed

* Check provisioned frame length when packing a frame.  If resultant
  length of a frame exceeds the maximum value (which is 2**24 - 1 for
  SPDY/2 and 3), SPDYLAY_ERR_FRAME_TOO_LARGE is used to indicate this
  error. This error will be notified by on_ctrl_not_send_callback.

* Disable client side header block compression.



43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
spdylay 0.3.5
=============

Release Note
------------

This release fixes the bug that shrpx tries to read response body when
HTTP status code is 304 and nonzero Content-Length is returned.  The
SPDY client and server programs, spdycat, spdyd and shrpx, were moved
to src directory. The --enable-src configure option was added to
enable/disable to build them. In Python API, Session.resume_data() now
returns boolean value to indicate error instead of raising
InvalidArgumentError.

This release was made because the previous release, 0.3.4, did not
update library version. Other than updated library version number,
anything has not been changed since 0.3.4.

Changes
-------

* shrpx: Check request_connection_close_ when deciding closing
  connection.  When deciding whether to close the client connection,
  check request_connection_close_ of Downstream in addition of
  response_connection_close_. Also we only add "Connection:
  Keep-Alive" header to the HTTP/1.0 or HTTP/0.9 clients.

* python: Don't raise exception from Session.resume_data().  In
  practice, Session.resume_data() will be used without checking there
  is deferred data or not. Actually, there is no API to check this.
  So it is better not to raise exception. Instead return False to
  notify error. If the method succeeds, it returns True.

* Add --enable-src configure option.  When --enable-src is given, the
  programs in src directory will be built. If --disable-src is given,
  those programs will not be built. If none of them are given,
  --enable-src is assumed.

* Move spdycat, spdyd and shrpx from examples to src.  To distinguish
  the to-be-installed programs and non-installable example source
  code, the former programs, spdycat, spdydyd and shrpx, were moved to
  src directory. spdynative was removed from Makefile because it does
  not appeal to any users much.

* shrpx: Ignore response body if HTTP status code is 1xx, 204 or 304.



91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
spdylay 0.3.4
=============

Release Note
------------

This release fixes the bug that shrpx tries to read response body when
HTTP status code is 304 and nonzero Content-Length is returned.  The
SPDY client and server programs, spdycat, spdyd and shrpx, were moved
to src directory. The --enable-src configure option was added to
enable/disable to build them. In Python API, Session.resume_data() now
returns boolean value to indicate error instead of raising
InvalidArgumentError.

Changes
-------

* shrpx: Check request_connection_close_ when deciding closing
  connection.  When deciding whether to close the client connection,
  check request_connection_close_ of Downstream in addition of
  response_connection_close_. Also we only add "Connection:
  Keep-Alive" header to the HTTP/1.0 or HTTP/0.9 clients.

* python: Don't raise exception from Session.resume_data().  In
  practice, Session.resume_data() will be used without checking there
  is deferred data or not. Actually, there is no API to check this.
  So it is better not to raise exception. Instead return False to
  notify error. If the method succeeds, it returns True.

* Add --enable-src configure option.  When --enable-src is given, the
  programs in src directory will be built. If --disable-src is given,
  those programs will not be built. If none of them are given,
  --enable-src is assumed.

* Move spdycat, spdyd and shrpx from examples to src.  To distinguish
  the to-be-installed programs and non-installable example source
  code, the former programs, spdycat, spdydyd and shrpx, were moved to
  src directory. spdynative was removed from Makefile because it does
  not appeal to any users much.

* shrpx: Ignore response body if HTTP status code is 1xx, 204 or 304.



135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
spdylay 0.3.3
=============

Release Note
------------

This release fixes the segmentation fault error if the name/value
pairs which include empty string name are passed as nv argument to
spdylay_submit_* functions. Spdycat gets new option to specify
arbitrary headers from command line. Shrpx gets new option to specify
allowed cipher list. Python wrapper python-spdylay was added.

Changes
-------

* Add spdylay_npn_get_proto_list() public API function.
  spdylay_npn_get_proto_list() returns a pointer to the supported SPDY
  version list. The element of the list is spdylay_npn_proto
  struct. It contains all SPDY version information this library
  supports. The application can use this information to configure NPN
  protocol offerings/selection.

* Add --enable-example configure option. If --disable-example is used,
  example programs will not be compiled.

* Fix error with w64-mingw32 cross compiler.

* Remove unused zlib.h header file from spdylay.h

* Fix segmentation fault error if the name/value pairs which include
  empty string name are passed as nv argument to spdylay_submit_*
  functions.

* spdycat: Adding arbitrary headers form the command line. Patch from
  Stephen Ludin.

* Fix intptr_t check in configure.ac. Patch from Stephen Ludin.

* shrpx: add --ciphers option to specify allowed cipher list

* python: Add Python wrapper for spdylay. It is released separately as
  python-spdylay package from PyPI.



180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
spdylay 0.3.2
=============

Release Note
------------

This release adds many features and options to shrpx, HTTPS/SPDY
reverse proxy. Secure SPDY proxy mode was added to shrpx. Spdycat now
supports SNI, thanks to the patch contributed by Piotr Sikora.

Changes
-------

* spdycat: Add support for Server Name Indication (SNI). Patch from
  Piotr Sikora.

* spdycat: Use TLSv1_client_method

* shrpx: Add many new command-line options. It also now supports
  configuration file. Use http-parser instead of htparse. Add SPDY
  proxy mode.

* lib: Take into account shut_flags when accepting DATA frame.



206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
spdylay 0.3.1
=============

Release Note
------------

This release fixes the bug that on_ctrl_recv_callback is not called
when RST_STREAM is received.  It also fixes the bug that
on_data_recv_callback and on_data_chunk_recv_callback is called after
the stream was closed. A multi-threaded reverse proxy for SPDY/HTTPS
is added as an example program.

Changes
-------

* Added --enable-maintainer-mode configure option If it is enabled,
  turn on extra compiler warnings.

* Don't call on_data_recv_callback and on_data_chunk_recv_callback if
  stream was closed or being closed.

* Added example program Shrpx: a multi-threaded reverse proxy for
  SPDY/HTTPS.  It accepts SPDY/HTTPS connections and converts them to
  normal HTTP and forwards to the downstream servers.

* Fixed bug on_ctrl_recv_callback not called for RST_STREAM

* Return nonzero exit status if test fails. Fixed failmalloc tests.



237
spdylay 0.3.0
238 239 240 241 242
=============

Release Note
------------

243 244 245
This release fixes buffer overrun when a lot of streams are created.
SPDYLAY_OPT_MAX_RECV_CTRL_FRAME_BUFFER option was added to control the
maximum payload size of the incoming control frames.
246 247 248 249

Changes
-------

250
* Bump up LT version to 2.0.1.
251

252
* Included <functional> from spdy.h
253

254
* Made spdylay_strerror(0) return "Success"
255

256 257 258 259 260 261 262 263 264
* Added SPDYLAY_OPT_MAX_RECV_CTRL_FRAME_BUFFER option.  This option
  sets maximum receive buffer size for incoming control frame.
  Basically the library checks the length field of the incoming
  control frame. For frames with name/value header block, the library
  also checks the length of inflated block is also under the
  limit. This is done while incrementally inflating block. If the
  length of frames with name/value header block exceeds the limit, the
  library will issue RST_STREAM with FRAME_TOO_LARGE. For other
  frames, it will issue GOAWAY.
265

266
* Incremental name/value block decompression
267

268
* Fixed buffer overrun in spdylay_pq_push