Skip to content

Conversation

@RasmusWL
Copy link
Member

This is quite a simpel model, but ends up matching what we were able to do with points-to.

I think this modeling excercise really shows that we need a bit of a different way to model HTTP responses... but I'm not going to try to fix that in this PR.

This is quite a simpel model, but ends up matching what we were able to do with
points-to.

I think this modeling excercise really shows that we need a bit of a different
way to model HTTP responses... but I'm not going to try to fix that in this PR.
@RasmusWL RasmusWL requested a review from a team as a code owner January 21, 2021 12:39
@RasmusWL RasmusWL changed the title Python: model HTTP sinks in Tornado Python: model HTTP sink in Tornado Jan 21, 2021
RasmusWL added a commit to RasmusWL/codeql that referenced this pull request Jan 21, 2021
After making github#4995, I realized how easy
this would be :D

Will need to do some manual merge-conflict handling, but it should be all good
:)
Copy link
Contributor

@yoff yoff left a comment

Choose a reason for hiding this comment

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

I think this is a clear improvement in our modelling even without self.connection.request.write and can be merged as is.

@yoff
Copy link
Contributor

yoff commented Jan 24, 2021

I agree that we need a way to handle a fluent api. I would be curious to hear ideas, do we annotate the method itself? Or perhaps the return statement(/last line)?

@RasmusWL
Copy link
Member Author

I agree that we need a way to handle a fluent api. I would be curious to hear ideas, do we annotate the method itself? Or perhaps the return statement(/last line)?

I'm thinking to model all content-writes, and header writes separately, and stitching them together. I think Go does something similar to this right now, so I'll definitely want to talk with them before moving on with this.

@yoff yoff merged commit 7ba0939 into github:main Jan 25, 2021
@RasmusWL RasmusWL deleted the tornado-model-http-sinks branch January 26, 2021 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants