1 Inets Release Notes
1.1 Inets 4.7.4
1.1.1 Fixed Bugs and Malfunctions
-
Removed code generating compiler warnings
Own Id: OTP-6069
1.1.2 Improvements and New Features
-
[tftp] Added documentation (manual page) for
TFTP.
Own Id: OTP-6082
1.2 Inets 4.7.3
1.2.1 Fixed Bugs and Malfunctions
-
[http,server] started dbg even though no debugging was
desired.
Own Id: OTP-5984 Aux Id: seq10290
-
[http,server] request handler process died ugly due to a
parse error when validating a bad request.
Own Id: OTP-6003 Aux Id: seq10260
1.3 Inets 4.7.2
1.3.1 Fixed Bugs and Malfunctions
-
[http,server] Server falsely sets ipv6 enabled when it
gets an ipv4-mapped ipv6 address.
Own Id: OTP-5941 Aux Id: seq10221
-
[http,server] In case http version is unknown of client
use HTTP1.0 to send status.
Own Id: OTP-5943 Aux Id: seq10198
-
[http,server] The process handling a request now ignors
garbage messages.
Own Id: OTP-5961 Aux Id: seq10198
-
[http,server] Changed some actions taken if config data
in httpd services was faulty.
Own Id: OTP-5962 Aux Id: seq10198
1.4 inets 4.7.1
1.4.1 Fixed Bugs and Malfunctions
-
[http,server] It was possible to read arbitrary files on
server by prepending ././ and ../../ in fornt of the file
name.
Own Id: OTP-5938
1.5 Inets 4.7
1.5.1 Fixed Bugs and Malfunctions
-
[http,server] Handling of undefined file times (e.g.
modification time: the mtime field on the file_info
record).
Own Id: OTP-5865 Aux Id: OTP-5844
1.5.2 Improvements and New Features
-
[http,server]It is now possible to set the wanted timeout
for the server to setup a request connection. A new
syntax for inets.config is provided in the users guide
documentation. This syntax also allows to set tracing of
the server for debug purposes.
Own Id: OTP-5913 Aux Id: seq10198
1.6 Inets 4.6.2
1.6.1 Fixed Bugs and Malfunctions
-
[http,server] Had earlier forgot to convert a value in
entity_body to a binary.
Own Id: OTP-5796
-
[http,server] Now application checks whether the
necessary directives under directive Directory exist.
Own Id: OTP-5821
1.7 Inets 4.6.1
1.7.1 Fixed Bugs and Malfunctions
-
[http, client] If an Ipv4-mapped ipv6 address is used the
client now falls back on ipv4.
Own Id: OTP-5773 Aux Id: OTP-5765, OTP-5764
-
[http,server] Content-length may got a too low value,
causing loss of data in clients.
Own Id: OTP-5775 Aux Id: seq10110
1.7.2 Improvements and New Features
-
[http, client] The verbose mode prints what was sent and
received during a request. Added a
verbose
option
that can be used by http:set_options/1
Own Id: OTP-5766
1.8 Inets 4.6
1.8.1 Fixed Bugs and Malfunctions
-
[ftp, client] - Improvement of error handling if
something goes wrong while handling the option list in
ftp:open/[1,2,3].
Own Id: OTP-5711
-
[ftp, client] - Error when parsing a multiple FTP
response line. The last line in a multiple response must
be the response code followed by a space. A server may
have intermidate lines that start with the response code
even if this is not recommended. The parsing missed to
make sure that that space was present in what it
considered to be the last line.
Own Id: OTP-5712
-
[http, client] - The HTTP client will now retry a
pipelined request that was unsuccessful due to the fact
that the server unexpectedly closed the pipeline
connection.
Own Id: OTP-5728
-
[http, server, esi] - Under some circumstances mod_esi
would send a corrupted content-length header.
Own Id: OTP-5735
-
[http, server, get] - Removed debug printout which
caused a confusing "Socket closed"-printout at high
load.
Own Id: OTP-5762 Aux Id: seq10101
-
FTP: a data connection setup to the ftp server that
failed caused a crash of the client. Now it is handled
smothely.
Own Id: OTP-5738
-
[ftp] If host name is a ipv4 tuple ftp erronous tries to
connect as a ipv6 address with the ipv4 address.
Own Id: OTP-5764
-
[ftp] Handles connect to ipv6/ipv4 address differently
according to a change in
inet:getaddr
.
Own Id: OTP-5765
1.8.2 Improvements and New Features
-
[http, server] - The HTTP request handling was remoduled
to have a more straight forward error-handling. And the
internal debug strategy was changed to use tracing
instead of debug macros, which means we do not have to
write special debug code.
Own Id: OTP-5729
-
ftp:ls towards different ftp servers resulted in
different return results. E.g. the solaris 9 default
server caused
{ok,[]}
while older servers caused
{error,epath}
as the result. For backwards
compatibility the behaviour has been changed to the old
result.
Own Id: OTP-5731
-
[http, server] - The documentation for the HTTP server
has been partly rewritten and very restructured too
provide a better overall picture. Lots of information
provided by "semi manual pages" has been moved to the
Users Guide.
Own Id: OTP-5752
-
FTP: verbose mode now also prints what the client sends
on the control channel.
Own Id: OTP-5753
1.9 Inets 4.5.4
1.9.1 Fixed Bugs and Malfunctions
-
[ftp, client] - Timing related issues could sometimes
cause the ftp response to be delayed.
Own Id: OTP-5705 Aux Id: seq10055
-
[http, server, esi] - The dispatching of the post body to
the esi callback fuction was broken.
Own Id: OTP-5706
1.10 Inets 4.5.3
1.10.1 Fixed Bugs and Malfunctions
-
[ftp, client] - The FTP error code 550 was handled in an
unexpected way. Some earlier versions of inets had a
workaround for this in ftp:recv_bin/2 that was eliminated
during restructuring of the ftp module while implementing
ipv6 capabilities. The problem is now fixed.
Own Id: OTP-5682 Aux Id: seq10048
-
[http, client] Post request with a body in binary format
failed as length was used instead of size.
Own Id: OTP-5686
-
[ftp, client] - For some FTP commands the FTP server will
send more than one reply on the FTP control channel. In
the case of a fast FTP server the client would sometimes
wrongly disregard the second answer as trailing garbage
attached to the first reply.
Own Id: OTP-5690 Aux Id: seq10055
1.10.2 Improvements and New Features
-
[ftp, client] - A new option {progress, {CBmodule,
CBFunction, InitProgressTerm} has been added to allow
users to create things such as progress bars in there
GUI's. The option affects ftp:send/[3,4] and
ftp:recv/[3,4].
Own Id: OTP-5680
-
[http, client] - Added new API function http:request/1
Own Id: OTP-5691
-
[httpd, server] - mod_cgi is implemented according to
CGI-1.1 RFC 3875, an early implementation was based on
some draft that is not totally compliant to the RFC.
Documentation was updated. Also some code was
restructured to facilitate testing and maintenance of the
server.
Own Id: OTP-5694
1.11 Inets 4.5.2
1.11.1 Fixed Bugs and Malfunctions
-
[ftp, client] Calling ftp:recv/2 twice on the same
connection failed due to that the last message on the
ctrl channel was not appropriately taken care of. This
could potentially cause a problem for any operation
performed on the same connection where there had
previously been an ftp:recv/2 call. Also, in some cases,
when the process tries to close the data connection, it
does not take into account that the data connection may
actually not have been established.
Own Id: OTP-5662 Aux Id: seq10004, seq9988
-
[ftp, client] Enhanced error handling, mainly so the ftp
client behaves gracefully when the user does strange
things such as violate the user API.
Own Id: OTP-5665
1.11.2 Improvements and New Features
-
[ftp, client] Added open option: mode.Deprecates
function force_active/1.
Own Id: OTP-5663
1.12 Inets 4.5.1
1.12.1 Fixed Bugs and Malfunctions
-
[http, server] The server did not handle the config
directive BindAddress value "*" properly.
When creating the option list for the listen call,
everything beside the atom undefined (if BindAddress
was never given) and an 4-tuple (e.g. BindAddress
value is 192.168.0.30) was incorrectly assumed to be
an ipv6 address.
For undefined (no BindAddress), Inets attempts to
figure out if it is running on a ipv6-machine, and if
so, add the inet6 option when calling listen. The
same approach should be used when BindAddress is
assigned the value "*".
Own Id: OTP-5642
-
Some data doesn't pass through http_base_64:decode/1 correctly.
The decoding routine fails whenever a 4-character group of the
encoding ends with "9" or "99". If it ends with 99, two bytes
will be lost in the decode routine. If it ends with a single 9,
one byte will be lost in the decode.
Own Id: OTP-5635 Aux Id: seq9971
-
[http, server,esi] Web server does not handle status-code
returned by an esi function. I.e. the esi-function
can no longer control the status code.
Own Id: OTP-5648 Aux Id: seq9982
-
[http, server,esi] Corrected header format. First character
was lower case, and there where no space after the ":"
character, example: content-length:0. Now, first character
was upper case, and a space after the ":" character,
example: Content-Length: 0 (To preserve
backward compatibility with the de-facto standard as the
new way does not break the HTTP standard!)
Own Id: OTP-5649 Aux Id: seq9982
-
[http, server, cgi] Parsing of the status header field could
cause a crash.
Own Id: OTP-5650 Aux Id: seq9982
1.13 Inets 4.5
1.13.1 Fixed Bugs and Malfunctions
-
The internal design of using blocking gen_tcp:recv with a
timeout and retries resulted in code that was hard to get
a good overview of, and ultimate led to situations where
the client got the wrong answer or no answer at all. The
errors where many times very timing dependent and mainly
effected the chunk-related functions, so if you where
lucky you proably would not have noticed. The internal
design was changed to use gen_tcp active once semantics.
The API is not effected except for the function
ftp:quote/2 which now returns a list of strings (ftp
result lines) where the line endings "\r\n" has been
removed. This was the original intention for the return
value of ftp:quote/2 but it was non trivial to make a
good such solution with the old design and a compromise
was made.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-5623
-
The new implementation of pipelining in inets-4.1 alas
was slightly broken and unfortunately not caught by the
test suite that apparently needs some additions. The
result was that requests that ought to have been
pipelined where not, this has now been fixed.
Own Id: OTP-5624
-
When using the latest esi interface with the callback
interface of arity 3, HTTP Content-Type headers where
ignored, this due to a subtle difference between this
interface and the old one in how they viewed HTTP
delimiters.
Own Id: OTP-5627
1.13.2 Improvements and New Features
-
The HTTP server now supports ipv6 in the case that the
underlying mechanisms also do so. (ssl does not yet
support ipv6.)
Own Id: OTP-5141
-
The FTP client now supports ipv6 in the case that the
underlying mechanisms also do so.
Own Id: OTP-5142
-
An option was added to disable the ipv6 support in the
HTTP client. This to provide a workaround possibility for
buggy ipv6-stacks.
Own Id: OTP-5625 Aux Id: seq9872
-
When generating dynamic HTTP response bodies the the
default content-type is now set to "text/html" instead of
"text/plain" which is more intuitive.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-5626
1.14 Inets 4.4.1
1.14.1 Fixed Bugs and Malfunctions
-
Wrapper function http_transport:accept/3 did
error-handling that it should not do because only the
caller of the wrapper can determine what action to take.
So timeouts where handled twice, once in http_transport
and once in httpd_acceptor. Clean up of the wrapper
module http_transport changed the action of the wrapper
module and made the unwanted behavior noticeable in in
OTP error logs. And now the unwanted error handling has
been removed. The cleanup helped us find bad code but
alas it also generates a lot of log printouts that are
quite disturbing to the user of the HTTP-server.
Own Id: OTP-5549 Aux Id: seq9851
-
In the rewrite for 4.4 some mod_esi-environment values
where mistaken for ordinary header values and where
incorrectly transformed to strings. They are now atoms
again.
Own Id: OTP-5551 Aux Id: seq9854
-
The HTTP server now handles "GET /\r\n\r\n" as well as
"GET / \r\n\r\n". According to the RFC the whitespace is
not nedded.
Own Id: OTP-5552 Aux Id: seq8426
1.14.2 Improvements and New Features
-
The ftp client now supports passive mode. Actually the
ftp client will always try to use passive mode and if it
fails it will use active mode instead. It is also
possible to force the ftp-client to use active mode, if
that is desired, by calling ftp:force_active/1 this way
you can get the old behavior.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-5148
1.15 Inets 4.4
1.15.1 Fixed Bugs and Malfunctions
-
The server did not handle HTTP-0.9 messages with an
implicit version.
Own Id: OTP-5513
-
An internal server timeout killed the request handling
process without sending a message back to the client. As
this timeout only affects a single request it has been
set to infinity (if the main server process dies the
request handling process will also die and the client
will receive an error). This might make a client that
does not use a timeout hang for a longer period of time,
but that is an expected behavior!
Own Id: OTP-5514 Aux Id: seq9806
-
That a third party closes the http servers accept socket
is recoverable for Inets, hence intes will only produce
an info report as there was no error in Inets but
measures where taken to avoid failure due to errors
elsewhere.
Own Id: OTP-5516 Aux Id: seq9806
-
The HTTP client proxy settings where ignored. Bug
introduced in inets-4.3.
Own Id: OTP-5517
-
Inets only sent the "WWW-Authenticate" header at the
first attempt to get a page, if the user supplied the
wrong user/password combination the header was not sent
again. This forces the user to kill the browser entirely
after a failed login attempt, before the user may try to
login again. Inets now always send the authentication
header.
Own Id: OTP-5521
-
A major rewrite of big parts of the HTTP server code was
performed. There where many things that did not work
satisfactory. Cgi script handling can never have worked
properly and the cases when it did sort of work, a big
unnecessary delay was enforced. Headers where not always
treated as expected and HTTP version handling did not
work, all responses where sent as version HTTP/1.1 no
matter what.
Own Id: OTP-5537
1.16 Inets 4.3.1
1.16.1 Fixed Bugs and Malfunctions
-
When further testing the functionality of https requests
that goes through a proxy. We realised that alas this can
not currently be supported as it requires features from
the ssl implementation that is not currently available.
So for now an error message will be returned when trying
to use this functionality.
Own Id: OTP-5453
-
When trying to get a url from a server that does not
exist the client hanged instead of returning an error
message. Bug introduced in inets-4.3.
Own Id: OTP-5454
1.17 Inets 4.3
1.17.1 Fixed Bugs and Malfunctions
-
Tunneling of SSL through a proxy has now been
implemented. However due to lack of test sites this has only
partially been verified, it is likely that there will
have to be future improvments in this area.
Own Id: OTP-5443
1.17.2 Improvements and New Features
-
The pipeline timeout was changed to be zero by default to
avoid that people by accident would create connection
processes that never dies and eats up the socket
resources.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-5442
-
Altered the way spawn_link is used in mod_esi to avoid
getting, in this senario unwanted error reports, from
spawn_link. (The behavior of spawn_link was altered in a
not backwards compatible way.)
Own Id: OTP-5444
1.18 Inets 4.2.1
1.18.1 Fixed Bugs and Malfunctions
-
Sometimes EWS modules where called with an Info record
where the peername field was {-1, "unknown"}. This could
happen when a client was making a lot of requests which
it discards before they where answered by the server. The
server now ignores such requests and does not call the
EWS modules in this case.
Own Id: OTP-5380 Aux Id: seq9739
-
The HTTP-server now returns the 408 status code upon a
request timeout as expected instead of the previous
faulty behavior of sending a 500 status code.
Own Id: OTP-5409
-
The content length was put in to the HTTP-headers as an
integer instead of as a string.
Own Id: OTP-5410
-
It was wrongly presumed that code:priv_dir would always
be writable due to how the test-server works. The
directory is now a configuration parameter in the
inets-application configuration file. Failing to
configure it will result in that all cookies are treated
as session cookies.
Own Id: OTP-5411
1.18.2 Improvements and New Features
-
An undocumented beta version of tftp is included.
Own Id: OTP-5419
1.19 Inets 4.2
1.19.1 Fixed Bugs and Malfunctions
-
When sending a request through a proxy the absolute URI
must be used.
Own Id: OTP-5368
1.19.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.20 Inets 4.1
1.20.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.20.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.21 Inets 4.0.1
1.21.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.22 Inets 4.0
1.22.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.22.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-2006
Ericsson AB