## 1 Inets Release Notes

### 1.1 Inets 4.2

#### 1.1.1 Fixed Bugs and Malfunctions

- When sending a request through a proxy the absolute URI must be used.
  Own Id: OTP-5368

#### 1.1.2 Improvements and New Features

- Basic support for cookies was implemented. Later some more functions to inspect cookies may be added.
  Own Id: OTP-5331
- A top tftp supervisor was added in preparation for adding a tftp service in a future inets release.
  Own Id: OTP-5379

### 1.2 Inets 4.1

#### 1.2.1 Fixed Bugs and Malfunctions

- The URI check that disables relative links that goes outside the server-root still missed a few cases, in spite of the improvement in OTP-5140.
  Own Id: OTP-5249
- The http client pipelining implementation has been rewritten as the old implementation was too optimistic about when to pipeline. In the process of doing this also the error handling was improved, better clean up is performed when the request handling process terminates and better handling of the case that the httpc_manager process dies and is restarted.
  Own Id: OTP-5303
- Improved handling of status codes 30X and 50X.
  Own Id: OTP-5309

#### 1.2.2 Improvements and New Features

- The inets supervision tree has been reorganized to create a better balance between the inets services. Preferably they should not effect each other. The ftp service has also been included in the inets supervision tree, it was for reasons unknown, not included before.
  Own Id: OTP-5188
- The service concept in inets is now better documented.
  Own Id: OTP-5189
- The inets shutdown times have proven to be too short under some circumstances, as a heavy load, therefore they have been prolonged.
  Own Id: OTP-5261 Aux Id: seq9624
- Options for automatic redirection and pipelining is now available in the http client API.
  Own Id: OTP-5304

### 1.3 Inets 4.0.1

#### 1.3.1 Fixed Bugs and Malfunctions

- A programming error could cause a badmatch in the http client when the http response was chunk decoded.
  Own Id: OTP-5101
- The parsing of HTTP messages was missing a base case. This caused unexpected behavior when the separator CR and LF where received in different tcp packets.
  Own Id: OTP-5239

### 1.4 inets 4.0

#### 1.4.1 Fixed Bugs and Malfunctions

- When receiving a status 100 code, the client should only respond by sending the message body, if the client sent an expect header in the first place. Failing to do so may result in that the server receives the body twice.
  Own Id: OTP-4848
- mod_get now also handles http version HTTP/0.9
  Own Id: OTP-4935 Aux Id: seq8426
- "Last-modified" field was incorrectly set to local time with the tag GMT, it is now corrected so that the time reflected is in fact GMT.
  Own Id: OTP-4936
- The client will only add a host-field to the request if there is not one already present.
  Own Id: OTP-4984
- The 'inets' application tries to be compatible with Apache. To be more compatible the option 'MaxKeepAliveRequest' is renamed 'MaxKeepAliveRequests'. The old name is kept for backward compatibility.
  Own Id: OTP-5024
- Changing the base 64 decoding to not accept invalid input, uncovered a logical error in mod_security.erl An already decoded string was sent as input to decode. In this case, as it so happened, the two errors worked together creating the elution that everthing was right. This has now been corrected.
  Own Id: OTP-5083
- URLs where not properly scrutinised for relative paths. A malicious user could exploit this to read files outside the document root. This is no longer the case.
  Own Id: OTP-5140

#### 1.4.2 Improvements and New Features

- A HTTP 1.1 client is officially included in inets. It is loosely based on the previously unsupported code contributed by Johan Blom. In this first version only the most basic HTTP functionality is supported. The user API has been changed.
  *** POTENTIAL INCOMPATIBILITY ***
  Own Id: OTP-5047
- Fixed erroneous link in documentation.
  Own Id: OTP-5089 Aux Id: seq8887
- Added the function quote/2 that lets you send an arbitrary FTP command to the FTP client.
  Own Id: OTP-5099 Aux Id: seq8961
- Started integration of the HTTP client and server code too facilitate maintenance and further development.
  Own Id: OTP-5110
- Due to several possibilities to interpret the ftp standard some newer ftp-servers have interpreted the standard in such a way that the documented return value of ftp:nlist/2 does not always match the actual return value. Some extra checks have now been added to ensure the documented return value. This will also result in that ftp:nlist is not bug compatible in the case that nlist is given a filename instead of a directory it will now return an error instead of {ok, FileName}.
  *** POTENTIAL INCOMPATIBILITY ***
  Own Id: OTP-5165
- Created a Users Guide for Inets. Earlier there where some fake manual pages and information was scattered everywhere and hard to find.
  Own Id: OTP-5180

For information about older versions see release notes history.

Copyright © 1991-2005 Ericsson AB