8000 Packetizing fixture, attaching to host simulation by cceckman · Pull Request #37 · cceckman/http-accel · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Packetizing fixture, attaching to host simulation #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 31, 2025
Merged

Conversation

cceckman
Copy link
Owner
  • Program when running the programming program
  • More tests for host side
  • Document erratum on end flag
  • Demo, by simulation on host

@cceckman cceckman requested a review from slongfield March 29, 2025 23:46
```
∵ curl -v0 localhost:3278/counts
*   Trying 127.0.0.1:3278...
* Connected to localhost (127.0.0.1) port 3278 (#0)
> GET /counts HTTP/1.0
> Host: localhost:3278
> User-Agent: curl/7.88.1
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Host: Fomu
< Content-Type: text/plain; charset=utf-8
<

👍
* Closing connection 0
requests: 0001 ok_responses: 0001 error_responses: 0000
```
want_bytes = 1
# Input is done, in theory
p3 = Packet(flags=Flag.END, stream_id=1, body=bytes())
self.send(p3.to_bytes())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the cause of the issue where we can't send more than one request. If I get rid of this line, I can get as many /coffee (418) and /counts responses I want from curl

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rewrite/split of "separate state machines" also fixed the "only one request", without getting rid of this -- and I think the "stop" is important to capture, so I'd like to leave this.

Merging this with the bug intact, #39 has the rewrite.

@cceckman cceckman merged commit 7091b75 into main Mar 31, 2025
1 check passed
@cceckman cceckman deleted the cceckman/load branch March 31, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0