Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-02 | Merge branch 'peppe/common_test/ct_fail' | Peter Andersson | |
* peppe/common_test/ct_fail: Add ct:comment/2 function Add ct:fail/2 function OTP-9709 | |||
2011-12-02 | Add ct:comment/2 function | Peter Andersson | |
2011-12-02 | Merge branch 'ia/ssl/test-case-maint' | Ingela Anderton Andin | |
* ia/ssl/test-case-maint: Missed two places in previous fix | |||
2011-12-02 | Missed two places in previous fix | Ingela Anderton Andin | |
2011-12-02 | Merge remote branch 'origin/peppe/common_test/css_fixes' | Peter Andersson | |
* origin/peppe/common_test/css_fixes: Bugfixes and improvements of the the CSS stylesheet implementation OTP-9706 | |||
2011-12-02 | Skip recv/send during tests for fallback platforms | Lukas Larsson | |
2011-12-02 | Remove header/trailer support | Lukas Larsson | |
Since the API for headers/trailers seem to be very awkward to work with when using non-blocking io the feature is dropped for now. See unix_efile.c for more details. | |||
2011-12-02 | Remove windows implementation | Lukas Larsson | |
2011-12-02 | Expand sendfile documentation | Lukas Larsson | |
2011-12-02 | Only allow tcp sockets as target for sendfile | Lukas Larsson | |
2011-12-02 | Move sendfile api to file module | Lukas Larsson | |
Since sendfile could in theory be used to send to any type of file descriptor in *nix, it is a better fit to have it in file. | |||
2011-12-02 | Merge branch 'hb/erl_docgen/man_gen_fix/OTP-9759' | Hans Bolinder | |
* hb/erl_docgen/man_gen_fix/OTP-9759: Fix a bug in the generation of manpages | |||
2011-12-01 | Merge branch 'bmk/megaco/r15_proofing_test' | Micael Karlberg | |
2011-12-01 | Fixed bogus comment. | Micael Karlberg | |
2011-12-01 | Merge branch 'ia/ssl/test-case-maint' | Ingela Anderton Andin | |
* ia/ssl/test-case-maint: Test cases where failing due to timing issues in test case code | |||
2011-12-01 | Fix minor faults in documentation of release handling | Siri Hansen | |
Fix typos or minor faults. Move out code listing of target_system.erl, and use codeinclude statement to include this file from sasl/examples directory. | |||
2011-12-01 | Rename create_target.xml to create_target.xmlsrc to prepare for codeinclude | Siri Hansen | |
2011-12-01 | Preliminary work on header/trailer | Lukas Larsson | |
Have to figure out how to represent progress in header writing when using non-blocking, not sure how to do this. | |||
2011-12-01 | Use free_sendfile explicitly for non-async | Lukas Larsson | |
This is needed because aync job will not call free_sendfile if there is an async_ready callback. | |||
2011-12-01 | Remove debug printouts | Lukas Larsson | |
2011-12-01 | Add tests for send/recv/sendfile interactions | Lukas Larsson | |
Tests for when a gen_tcp:send/recv is ordered while a sendfile is in progress. | |||
2011-12-01 | Remove tests for file_server sendfile | Lukas Larsson | |
2011-12-01 | sendfile caller now has to be the controlling_process | Lukas Larsson | |
This is needed because otherwise there could be scenarios when the efile driver blocks a fd and then crashes without the inet driver ever finding out. Now when the process crashes the port will close and we can cleanup in the inet driver. | |||
2011-12-01 | Remove support for file_server, sendfile has to be raw | Lukas Larsson | |
Because the sending process has to be the controlling process of the tcp socket used to send data it is not possible to use the file_server | |||
2011-12-01 | Set chunk size to 3 GB | Lukas Larsson | |
It is not possible to use the maximum size_t/off_t for the chunks as that causes sendfile to return einval. 3GB seems to work on all *nix platforms. | |||
2011-12-01 | Change type of fd to be ErlDrvEvent | Lukas Larsson | |
2011-12-01 | Add ifdef's for HAVE_SENDFILE | Lukas Larsson | |
2011-12-01 | Fix freebsd support for sendfile | Lukas Larsson | |
2011-12-01 | Change nbytes to 64 bit | Lukas Larsson | |
2011-12-01 | Implement ignorefd for TCP | Lukas Larsson | |
Ignore fd is a feature used by sendfile to temporarily remove all driver_select calls on that fd so that another driver can select on it. It also delays all actions which sends or receives data in that fd until in the fd is no longer ignored. Only the controlling_process should use the feature as it is otherwise possible that the ignore will never be cleaned up and hence create a memory leak in the driver. An ignored driver will not detect that an fd has been closed until it is unignored. | |||
2011-12-01 | Fix offset calculation for darwin | Lukas Larsson | |
2011-12-01 | Fix cleanup for sendfile | Lukas Larsson | |
2011-12-01 | Fix 32 bit parameters | Lukas Larsson | |
2011-12-01 | Make socket blocking if there are async threads | Lukas Larsson | |
2011-12-01 | Implement sendfile when there are no async threads | Lukas Larsson | |
When there are no async threads sendfile will use the ready_output select on the socket fd to know when to send data. The file_desc will also be put in the sending sendfile_state which buffers all other commands to that file until the sendfile is done. | |||
2011-12-01 | Implement blocking calls for sendfile | Lukas Larsson | |
Move sendfile data to invoke data instead of file_descr. Remove usage of ready_output when doing a send. If told to send 0 bytes, file_sendfile now sends the entire file for linux. | |||
2011-12-01 | Remove output from driver entry | Lukas Larsson | |
outputv will always be used so removed output to decrease confusion. | |||
2011-12-01 | Implement sendfile using blocking io in asynch threads | Lukas Larsson | |
Move the command handling to outputv in preparation for header and trailer inclusion in the sendfile api. Use the standard efile communication functions for sendfile. | |||
2011-12-01 | Create erlang fallback for sendfile | Lukas Larsson | |
Created erlang fallback for sendfile in gen_tcp and moved sendfile from file to gen_tcp. Also created testcases for testing all different options to sendfile. For info about how sendfile should work see the BSD man pages as they contain a more complete API than other *nixes. | |||
2011-12-01 | Move sendfile tests to gen_tcp_api_SUITE | Lukas Larsson | |
2011-12-01 | Callback specs now handled by -callback directive in the behaviour module. | Ingela Anderton Andin | |
2011-12-01 | Merge branch 'bmk/megaco/r15_proofing_test' | Micael Karlberg | |
2011-12-01 | Merge branch 'bmk/megaco/own_dialyzer_plt' | Micael Karlberg | |
2011-12-01 | Merge branch 'bmk/inets/inets58_integration2' | Micael Karlberg | |
2011-12-01 | Merge branch 'maint-r14' | Micael Karlberg | |
Conflicts: lib/snmp/src/agent/snmpa_set_lib.erl lib/snmp/src/app/snmp.appup.src lib/snmp/src/compile/snmpc.src lib/snmp/vsn.mk | |||
2011-12-01 | Correct callback spec in application module | Stavros Aronis | |
2011-12-01 | Refine warning about callback specs with extra ranges | Stavros Aronis | |
2011-12-01 | Cleanup autoimport compiler directives | Stavros Aronis | |
2011-12-01 | Fix Dialyzer's warnings in typer | Stavros Aronis | |
2011-12-01 | Fix Dialyzer's warning for its own code | Stavros Aronis | |