aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
AgeCommit message (Collapse)Author
2011-03-18Merge branch 'bmk/inets/ftp/missing_spec_causes_dialyxer_problems/OTP-9114' ↵Micael Karlberg
into bmk/inets/inet56_integration Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/inets_app/inets.appup.src
2011-03-18Fixed debug macro.Micael Karlberg
Fixed appup file (not updated). Fixed application version.
2011-03-17Merge branch 'dev' into bmk/inets/httpc/support_upload_body_streaming/OTP-9094Micael Karlberg
Conflicts: lib/inets/doc/src/notes.xml Fixed release notes after merge.
2011-03-17Merge branch 'dev' into ↵Micael Karlberg
bmk/inets/ftp/missing_spec_causes_dialyxer_problems/OTP-9114 Also fixed a bunch of "end-years" (was 2010 but should have been 2011, which the commit hook not happy with).
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-03-09Added (type) specs for all "public" functions in the ftp module.Micael Karlberg
2011-03-09Remove link_check warnings re httpc.xml,sys.xml and unicode.xmlPatrik Nyblom
2011-03-07Fixed release notes.Micael Karlberg
2011-03-07Wrong version (downgrade for 5.5 was 5.4 instead which madeMicael Karlberg
5.4 appear in two places).
2011-03-07Adding missing "send loop" for raw sending.Micael Karlberg
Also fixed some of the documentation (types).
2011-03-04Merge branch 'fm/httpc-upload-body-streaming' into ↵Micael Karlberg
bmk/inets/httpc/support_upload_body_streaming/OTP-OTP-9094 Conflicts: lib/inets/src/http_client/httpc.erl lib/inets/test/httpc_SUITE.erl
2011-03-03Handling encoding of empty chunks.Micael Karlberg
2011-03-02Fix typo in httpc documentationTuncer Ayaz
2011-03-02inets/httpc: Polish documentationChristian von Roques
* Assure store_cookies (and verify_cookies) is documented instead of the nonexistent store_cookie and verify_cookie. * Make sure the cookies option is not called cookie in comments. * Sprinkle <c>...</c> arround symbols and code snippets in text. * Grammar, wording, and punctuation fixes. * Formalize See gen_tcp:connect/3,4 using <seealso>.
2011-03-02Merge branch 'fd/httpc-man-page-fixes' into devNiclas Axelsson
* fd/httpc-man-page-fixes: Grammar and typo fixes for the httpc module documentation OTP-9090
2011-02-17Update ipv6 testcase to be skipped if no ipv6 hosts are definedLukas Larsson
2011-02-17Update ftp suite to take config from ct:get_configLukas Larsson
2011-02-17Rename Suite Callback to Common Test HookLukas Larsson
2011-02-17Update and add cover spec files to work with common_testLukas Larsson
2011-02-17Update all test specsLukas Larsson
2011-02-17Fix formatting for inetsLukas Larsson
2011-02-17Add init_per_suite and end_per_suiteLukas Larsson
2011-02-17Add ts_install_scb to suite/0Lukas Larsson
2011-02-17Update inets tests to conform with common_test standardLukas Larsson
2011-02-17Update all fin_per_testcase to end_per_testcase.Lukas Larsson
2011-02-17Updated test cases to work with ts conversion algorithmLukas Larsson
2010-12-16External include filesMicael Karlberg
HTTPD header file install "fixed". That is, the include files in the include dir are installed in the include dir (by the Makefile in the src/inets_app). New wrapper header files (with the same names httpd.hrl and mod_auth.hrl) has been created in the src/http_server dir (which in turn is installed in the src/http_server dir by the Makefile in the src/http_server dir).
2010-12-16Grammar and typo fixes for the httpc module documentationFilipe David Manana
2010-12-06Prepare releaseErlang/OTP
2010-12-02Teach inet_test_lib to understand enetunreachPatrik Nyblom
2010-12-01Fix format_man_pages so it handles all man sections and remove ↵Lars Thorsen
warnings/errors in man pages
2010-12-01Merge branch 'bmk/inets/httpc_meybe_retry_queue_terminating/OTP-8906' into devIngela Anderton Andin
* bmk/inets/httpc_meybe_retry_queue_terminating/OTP-8906: Pipelined requests not handled properly when terminating.
2010-12-01Merge branch 'ia/ssl/test-improvments' into devIngela Anderton Andin
2010-12-01Merge branch 'ia/inets/url-encoding/OTP-8940' into devIngela Anderton Andin
* ia/inets/url-encoding/OTP-8940: Changed file error handling to be consistent URL-encoding - add support in client and more usage in server. Also added missing include directory.
2010-11-30Merge branch 'bmk/httpc_suite_ipfamily_fix/20101109/OTP-8927' of ↵Ingela Anderton Andin
super:bmk_otp into dev
2010-11-30Changed file error handling to be consistentIngela Anderton Andin
Internal server error is only used for emfile and enfile all other errors are treated as 404 file not found, except 403 eacces.
2010-11-30Replaced error report with debug printout.Micael Karlberg
Also added some verbosity (dbg) printouts in the transport module (for ip_comm listen).
2010-11-29Merge branch 'bmk/httpc_suite_ipfamily_fix/20101109/OTP-8927' of ↵Ingela Anderton Andin
super:bmk_otp into dev
2010-11-29More IPv6 fixing. This time in actual code (in the client).Micael Karlberg
2010-11-29URL-encoding - add support in client and more usage in server. AlsoIngela Anderton Andin
added missing include directory.
2010-11-26Added proper version.Micael Karlberg
2010-11-18Fix escaped xml character and a missing closing tag in mod_auth.xmlAhmed Omar
In description of the list_users/2 function, the character < was escaped and a closing tag was missing which resulted in an invalid xml and a wrong formatting.
2010-11-10Pipelined requests not handled properly when terminating.Micael Karlberg
2010-11-10New behaviour for ipv6 machines.Micael Karlberg
As the web-server uses the option ipfamily with value, inet6fb4, so should the client. Also some make cleanup (testing for TAR.exclude in data dirs before using). Header in vsn.mk file also missing for some reason!
2010-10-13httpc: add option to do automatic chunked transfer-encodingFilipe David Manana
This is specially useful when a client doesn't know in advance the length of the payload (so that it can't set the Content-Length header). Example: -module(httpc_post_stream_test). -compile(export_all). prepare_data() -> crypto:start(), {ok, Fd} = file:open("test_data.dat", [binary, write]), ok = file:write(Fd, lists:duplicate(crypto:rand_uniform(8182, 32768), "1")), ok = file:close(Fd). test() -> inets:start(), ok = prepare_data(), {ok, Fd1} = file:open("test_data.dat", [binary, read]), BodyFun = fun(Fd) -> case file:read(Fd, 512) of eof -> eof; {ok, Data} -> {ok, Data, Fd} end end, %% header 'Transfer-Encoding: chunked' is added by httpc {ok, {{_,200,_}, _, _}} = httpc:request(post, {"http://localhost:8888", [], "text/plain", {chunkify, BodyFun, Fd1}}, [], []), ok = file:close(Fd1).
2010-10-05httpc: allow streaming of PUT and POST request bodiesFilipe David Manana
This is a must when uploading large bodies that are to large to store in a string or binary. Besides a string or binary, a body can now be a function and an accumulator. Example: -module(httpc_post_stream_test). -compile(export_all). -define(LEN, 1024 * 1024). prepare_data() -> {ok, Fd} = file:open("test_data.dat", [binary, write]), ok = file:write(Fd, lists:duplicate(?LEN, "1")), ok = file:close(Fd). test() -> inets:start(), ok = prepare_data(), {ok, Fd1} = file:open("test_data.dat", [binary, read]), BodyFun = fun(Fd) -> case file:read(Fd, 512) of eof -> eof; {ok, Data} -> {ok, Data, Fd} end end, {ok, {{_,200,_}, _, _}} = httpc:request(post, {"http://localhost:8888", [{"content-length", integer_to_list(?LEN)}], "text/plain", {BodyFun, Fd1}}, [], []), ok = file:close(Fd1).
2010-09-13Prepare releaseOTP_R14BErlang/OTP
2010-09-13Prepare release for inets-5.5 (R14B).Micael Karlberg
2010-09-10Remove warnings for clashes with new autoimported BIFsPatrik Nyblom
2010-09-01Merge branch 'maint-r13' into devBjörn Gustavsson
* maint-r13: Remove copyright headers in vsn.mk files Conflicts: lib/appmon/vsn.mk lib/erl_docgen/vsn.mk lib/inets/vsn.mk lib/kernel/vsn.mk lib/reltool/vsn.mk lib/ssl/vsn.mk lib/stdlib/vsn.mk lib/tools/vsn.mk lib/tv/vsn.mk lib/xmerl/vsn.mk