Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-20 | inets: httpc - do not send absolute URIs over TLS tunnels | Ingela Anderton Andin | |
Proxies want absolut URIs, but once a TLS tunnel is set up it is like talking direct to the server. | |||
2016-04-13 | Merge branch 'henrik/update-copyrightyear' | Henrik Nord | |
* henrik/update-copyrightyear: update copyright-year | |||
2016-03-15 | update copyright-year | Henrik Nord | |
2016-02-22 | inets: Add DELETE Body to client | FabioBatSilva | |
2016-02-22 | remove whitespaces | FabioBatSilva | |
2015-12-08 | inets: Add PATCH method to client and server | Pablo Lamela | |
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2011-05-11 | Fixed httpc manager crash | Ingela Anderton Andin | |
httpc manager crashes.When a request results in a retry, the request id will be "reused" in the previous implementation a race condition could occur causing the manager to crash. This is now avoided by using proc_lib:init_ack and gen_server:enter_loop to allow more advanced initialization of httpc_handlers without blocking the httpc_manger and eliminating extra processes that can cause race conditions. | |||
2011-03-07 | Adding missing "send loop" for raw sending. | Micael Karlberg | |
Also fixed some of the documentation (types). | |||
2010-10-05 | httpc: allow streaming of PUT and POST request bodies | Filipe 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-06-07 | OTP-7907: Allow the use of the "new" ssl (essl). | Micael Karlberg | |
OTP-8564: Update deeprication status. OTP-8573: Inets mod_alias URL rewrite. | |||
2010-01-19 | OTP-8016 [httpc] Several more or less critical fixes: * Initial call | Micael Karlberg | |
between the httpc manager and request handler was synchronous. When the manager starts a new request handler, this is no longer a synchronous operation. Previously, the new request handler made the connection to the server and issuing of the first request (the reason for starting it) in the gen_server init function. If the connection for some reason "took some time", the manager hanged, leaving all other activities by that manager also hanging. As a side-effect of these changes, some modules was also renamed, and a new api module, httpc, has been introduced (the old module, http, is *not* removed, but is now just wrapper for httpc). | |||
2010-01-13 | OTP-8016 TBD | Micael Karlberg | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |