<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in http.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>90ac295e - Update Wasmtime to the 2024 Rust Edition (#10806)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#90ac295e</link>
        <description>Update Wasmtime to the 2024 Rust Edition (#10806)* Update Wasmtime to the 2024 Rust EditionNow that our MSRV supports the 2024 edition it&apos;s possible to make thisswitch. This commit moves Wasmtime to the 2024 Edition to keepup-to-date with Rust idioms and access many of the edition featuresexclusive to the 2024 edition.prtest:full* Reformat with the 2024 edition

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Mon, 19 May 2025 16:40:55 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>d1ff945e - wasi-http: make the buffer and budget capacity of the OutgoingBody writer configurable (#9670)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#d1ff945e</link>
        <description>wasi-http: make the buffer and budget capacity of the OutgoingBody writer configurable (#9670)

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Wed, 04 Dec 2024 21:37:10 +0000</pubDate>
        <dc:creator>Xinzhao Xu &lt;z2d@jifangcheng.com&gt;</dc:creator>
    </item>
<item>
        <title>d29b863a - Fix `connect_timeout` for `wasi-http` (#8085)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#d29b863a</link>
        <description>Fix `connect_timeout` for `wasi-http` (#8085)* wasi-http: Test `connect_timeout`* fmt* Test error code* Rename var for clarity* Fix prtest:mingw-x64 by removing duration test

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Tue, 12 Mar 2024 19:44:29 +0000</pubDate>
        <dc:creator>Rik Huijzer &lt;github@huijzer.xyz&gt;</dc:creator>
    </item>
<item>
        <title>24d945f3 - wasi-http: Validate Content-Length when present (#7527)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#24d945f3</link>
        <description>wasi-http: Validate Content-Length when present (#7527)* Modify outgoing-body.finish to return a result* Validate content length when finishing an outgoing-body* Track written vs expected, instead of decrementing* Switch to the new errors* Move content-length tracking to BodyWriteStream* Review feedback* Remove a TODO

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Mon, 13 Nov 2023 22:06:01 +0000</pubDate>
        <dc:creator>Trevor Elliott &lt;telliott@fastly.com&gt;</dc:creator>
    </item>
<item>
        <title>8b523e78 - wasi-http: Migrate to more descriptive error variant (#7434)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#8b523e78</link>
        <description>wasi-http: Migrate to more descriptive error variant (#7434)* Migrate to a more specific error-code variant in wasi-httpCo-authored-by: Pat Hickey &lt;phickey@fastly.com&gt;* Optional fields, and align with upstream pr* Update for upstream changes to the error-code variant* Sync with the upstream implementation* Missed updating an error for riscv64 and s390x* More debuggable errorprtest:full* Try to stabilize the test on windows---------Co-authored-by: Pat Hickey &lt;phickey@fastly.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Sat, 11 Nov 2023 05:56:59 +0000</pubDate>
        <dc:creator>Trevor Elliott &lt;telliott@fastly.com&gt;</dc:creator>
    </item>
<item>
        <title>0e50d50d - wasi-http: Make all setters fallible (#7451)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#0e50d50d</link>
        <description>wasi-http: Make all setters fallible (#7451)* Rename header-error to validation-error* Make outbound-request setters fallible* Add additional tests for setters* Revert changes to header-error, and use a plain `result` for validation* Doc fix for fallible setters* Import fussing

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Fri, 03 Nov 2023 23:16:01 +0000</pubDate>
        <dc:creator>Trevor Elliott &lt;telliott@fastly.com&gt;</dc:creator>
    </item>
<item>
        <title>ddffc7e9 - Rename poll-list to poll, poll-one to pollable.block, and introduce pollable.ready (#7427)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#ddffc7e9</link>
        <description>Rename poll-list to poll, poll-one to pollable.block, and introduce pollable.ready (#7427)* update wasi:io/poll wit to https://github.com/WebAssembly/wasi-io/pull/54* put version in wit package name* implement changes to the wits* move contents of Host::poll_one to HostPollable::block* rename Host::poll_list to Host::poll,* implement HostPollable::ready, using futures::future::poll_immediate* wit: fix reference to poll-list* wasi-http wit: fix reference to poll-list* clocks implementation: ready returns immediately if deadline has pastthis is an optimization, but what it really allows us to do is assertpollable.ready() for a subscribe_duration(0) is ready immediately.* component adapter: rename poll-list to poll* test-programs: renames to poll functionstest-programs/src/bin/preview2_sleep.rs in particular now assertsready() on a subscribe_duration(0) and a subscribe_instant(now() - 1),so we have test coverage for ready as well now* code reviewCo-authored-by: Alex Crichton &lt;alex@alexcrichton.com&gt;---------Co-authored-by: Alex Crichton &lt;alex@alexcrichton.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Tue, 31 Oct 2023 20:42:54 +0000</pubDate>
        <dc:creator>Pat Hickey &lt;phickey@fastly.com&gt;</dc:creator>
    </item>
<item>
        <title>c97f5d68 - wasi-http: Fallible fields set and append (#7383)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#c97f5d68</link>
        <description>wasi-http: Fallible fields set and append (#7383)* Validate headers* Incorporate review feedback* Update crates/wasi-http/wit/deps/http/types.witCo-authored-by: Luke Wagner &lt;mail@lukewagner.name&gt;* Sync wit files* Make the fields constructor infallible, and add fields.from-list---------Co-authored-by: Luke Wagner &lt;mail@lukewagner.name&gt;

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Mon, 30 Oct 2023 20:38:39 +0000</pubDate>
        <dc:creator>Trevor Elliott &lt;telliott@fastly.com&gt;</dc:creator>
    </item>
<item>
        <title>f2fe75f7 - Sync with upstream wasi-http (#7406)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#f2fe75f7</link>
        <description>Sync with upstream wasi-http (#7406)

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Mon, 30 Oct 2023 17:54:32 +0000</pubDate>
        <dc:creator>Trevor Elliott &lt;telliott@fastly.com&gt;</dc:creator>
    </item>
<item>
        <title>f4be3606 - Refactor the test-programs test suite (#7182)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/http.rs#f4be3606</link>
        <description>Refactor the test-programs test suite (#7182)* Refactor the test-programs test suiteThis commit is a large refactoring that reorganizes `test-programs` andhow we tests wasms in Wasmtime. Often writing tests requires complicatedinteractions with the guest which can&apos;t be done via hand-written `*.wat`syntax and requires a compiler to get engaged. For this purpose Wasmtimecurrently has the `crates/test-programs/*` test suite which builds filesfrom source and then runs the tests. This has been somewhat cumbersomein the past though and it&apos;s not been easy to extend this over time, sothis commit attempts to address this.The scheme implemented in this PR looks like:* All wasm test programs live in `crates/test-programs/src/bin/*.rs`.  All of them, no exceptions.* Wasm tests have shared support located at  `crates/test-programs/src/lib.rs` and its submodules, such as bindings  generation for WASI.* Wasm tests are built by a new `crates/test-programs/artifacts` crate.  This crate compiles modules and additionally creates components for  all test programs. The crate itself only records the path to these  outputs and a small amount of testing support, but otherwise doesn&apos;t  interact with `wasmtime`-the-crate itself.* All tests in `crates/test-programs/tests/*.rs` have moved. For example  wasi-http tests now live at `crates/wasi-http/tests/*.rs`. Legacy  tests of wasi-common now live at `crates/wasi-common/tests/*.rs`.  Modern tests for preview2 live at `crates/wasi/tests/*.rs`.* Wasm tests are bucketed based on their filename prefix. For example  `preview1_*` is tested in wasi-common and wasmtime-wasi. The  `preview2_*` prefix is only tested with wasmtime-wasi, however.* A new `cli_*` prefix is used to execute tests as part of  `tests/all/main.rs`. This is a new submodule in  `tests/all/cli_tests.rs` which executes these components on the  command line. Many old &quot;command&quot; tests were migrated here.* Helper macros are generated to assert that a test suite is run in its  entirety. This way if a `preview1_*` test is added it&apos;s asserted to  get added to both wasi-common and wasmtime-wasi in the various modes  they run tests.Overall this moved a number of tests around and refactored some edges ofthe tests, but this should not lose any tests (except one that wasn&apos;tactually testing anything). Additionally the hope is that it&apos;s mucheasier to add tests in the future. The process is to add a new file in`crates/test-programs/src/bin/*.rs` named appropriately. For example apreview2 executable is `preview2_*` and a CLI tests is `cli_*`. Whenbuilding the test suite an error is generated in the appropriate modulethen of &quot;please write a test here&quot;, and then a test is written in thesame manner as the other tests in the module.* Remove no-longer-needed fetchesprtest:full* I&apos;m worried wasi is running low on semicolons* Add the WASI target in all CI actions* Add unknown-unknown target on all CI builders too* Fix building test artifacts under miriNeed to avoid wrappers for these cross-compiled targets* Break circular dependency for packagingDon&apos;t use the workspace dep for `wasmtime-wasi` since it injects aversion, instead use a `path = &apos;..&apos;` dependency to fool Cargo intodropping the dependency during the package phase.* Fix some merge conflicts with tests* Fix rebase for new tests* Remove stray comment* Fix some flaky tests* Fix network tests in synchronous modeThis commit is an attempt to fix some networking tests in synchronousmode in our test suite. Currently networking tests don&apos;t actually run insynchronous mode on CI which is why no failures have been surfaced yet,but the refactoring in #7182 is going to start doing this.Currently the `udp_sample_application.rs` test blocks infinitely insynchronous mode for me locally, most of the time. This appears to be aninteraction between how Tokio handles readiness and how we&apos;reentering the event loop. We&apos;re effectively entering the Tokio event loopwith a future that&apos;s always ready which ends up starving Tokio ofotherwise performing its background work such as updating flags forreadiness of reading/writing.The fix here is to add a yield at the start of an `in_tokio` block whichis used in synchronous mode. This is a kludge fix but the intention isto enable Tokio to have a chance to update readiness flags and processevents from epoll/kqueue/etc.An additional fix to this issue is WebAssembly/wasi-sockets#64 where thetest is waiting on `READABLE` or `WRITABLE`, but in this specific caseit should only wait on `READABLE`. If it waited on just this then thatwould also fix this issue. Nevertheless having a `yield_now` is expectedto have little-to-no overhead and otherwise fix this edge case of analways-ready future.* Fix passing empty arguments on the CLI* Add another blocking accept* Update crates/test-programs/src/bin/api_proxy.rsCo-authored-by: Trevor Elliott &lt;awesomelyawesome@gmail.com&gt;---------Co-authored-by: Trevor Elliott &lt;awesomelyawesome@gmail.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/http.rs</description>
        <pubDate>Mon, 09 Oct 2023 19:22:42 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
</channel>
</rss>
