chore: import upstream snapshot with attribution
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
pub fn main(world: World) -> Void raises {
|
||||
let net: Net = std.net.host()
|
||||
let addr: Address = std.net.withTimeout(std.net.address("localhost", 8080_u16), std.time.ms(250))
|
||||
let local: Address = std.net.withTimeout(std.net.localhost(8080_u16), std.time.ms(250))
|
||||
let loopback: Address = std.net.loopback(8080_u16)
|
||||
let conn: Maybe<Conn> = std.net.connect(net, addr)
|
||||
let listener: Maybe<Listener> = std.net.listen(net, addr)
|
||||
let _client: HttpClient = std.http.client(net)
|
||||
let _server: HttpServer = std.http.server(net, addr)
|
||||
let getA: HttpMethod = std.http.parseMethod("GET")
|
||||
let getB: HttpMethod = std.http.parseMethod("GET")
|
||||
if !conn.has && !listener.has && std.mem.eql(std.net.dnsName(addr), "localhost") && std.mem.eql(std.net.dnsName(local), "localhost") && std.mem.eql(std.net.dnsName(loopback), "127.0.0.1") && getA == getB && std.mem.len(std.mem.span("body")) == 4 && std.mem.eql(std.http.tlsBoundary(), "platform-or-c-library") {
|
||||
check world.out.write("std net http breadth ok\n")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user