## 1 Inets Release Notes

### 1.1 Inets 5.0.2

#### 1.1.1 Improvements and New Features

- [httpd] - Error logs now has a pretty and a compact format and access logs can be written on the common log format or the extended common log format.
  Own Id: OTP-6661 Aux Id: Seq 7764
- [httpc] - Added acceptance of missing reason phrase to the relaxed mode.
  Own Id: OTP-7024
- [httpc] - A new option has been added to enable the client to act as lower version clients, by default the client is an HTTP/1.1 client.
  Own Id: OTP-7043

### 1.2 Inets 5.0.1

#### 1.2.1 Fixed Bugs and Malfunctions

- [httpd] - Deprecated function httpd:start/1 did not accept all inputs that it had done previously. This should now work again.
  Own Id: OTP-7040

#### 1.2.2 Improvements and New Features

- [httpd] - Changed validity check on bind_address so that it uses inet:getaddr instead of inet:gethostbyaddr as the former puts a too hard restriction on the bind_address.
  Own Id: OTP-7041 Aux Id: seq10829
- [httpc] - Internal process now does try-catch and terminates normally in case of HTTP parse errors. Semantical the client works just as before returning an error message to the client, even if the error massage has been enhanced, but there is no supervisor report in the shell of a internal process crashing. (Which was the expected behavior and not a fault.)
  Own Id: OTP-7042

### 1.3 Inets 5.0

#### 1.3.1 Improvements and New Features

- [httpd, httpc] - Deprecated base64 decode/encode functions have been removed. Inets uses base64 in STDLIB instead.
  *** POTENTIAL INCOMPATIBILITY ***
  Own Id: OTP-6485
- [httpd] - It is now possible to restrict the length of acceptable URI:s in the HTTP server.
  Own Id: OTP-6572
- [httpc] - Profiles are now supported i.e. the options available in set_options/1 can be set locally for a certain profile and do not have to affect all HTTP-requests issued in the Erlang node. Calls to the HTTP client API functions not using the profile argument will use the default profile.
  Own Id: OTP-6690
- A new uniform Inets interface provides a flexible way to start/stop Inets services and get information about running services. See inets(3). This also means that inflexibilities in the HTTP server has been removed and more default values has been added.
  Own Id: OTP-6705
- [tftp] Logged errors have been changed to be logged warnings.
  Own Id: OTP-6916 Aux Id: seq10737
- [httpc] - The client will now return the proper value when receiving a HTTP 204 code instead of hanging.
  Own Id: OTP-6982
- The Inets application now has to be explicitly started and stopped i.e. it will not automatically be started as a temporary application as it did before. Although a practical feature when testing things in the shell it is not desirable that people take advantage of this and not start the Inets application in a correct way in their products. Added functions to the Inets API that call application:start/stop.
  *** POTENTIAL INCOMPATIBILITY ***
  Own Id: OTP-6993

For information about older versions see release notes history.

inets 5.0.2
Copyright © 1991-2008 Ericsson AB