Skip to content
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

Crash on URL to large file? #28

Open
dentarg opened this issue Mar 12, 2016 · 2 comments
Open

Crash on URL to large file? #28

dentarg opened this issue Mar 12, 2016 · 2 comments
Labels

Comments

@dentarg
Copy link
Owner

dentarg commented Mar 12, 2016

Or was it the fact that I posted another URL when it was working with the first one?

11:06:48 <..... dentarg> http://cdimage.debian.org/debian-cd/8.3.0/amd64/iso-cd/debian-8.3.0-amd64-CD-1.iso
11:06:56 <..... dentarg> https://borsna.github.io/familjeliv-eller-flashback/  
11:06:57 -!- rufwebot [[email protected]] has quit [Read error: EOF from 
          client]

The offline tester handled the large file

> https://borsna.github.io/familjeliv-eller-flashback/
 telling #testchannel: Familjeliv eller Flashback
> http://cdimage.debian.org/debian-cd/8.3.0/amd64/iso-cd/debian-8.3.0-amd64-CD-1.iso

 TitleReaderPlugin utility.TimeoutException for http://cdimage.debian.org/debian-cd/8.3.0/amd64/iso-cd/debian-8.3.0-amd64-CD-1.iso
>  >

I have to test for real, locally

@dentarg dentarg added the bug label Mar 12, 2016
@dentarg
Copy link
Owner Author

dentarg commented May 15, 2016

Noticed how Slack does it

52.90.38.136 - - [15/May/2016:20:22:05 +0200] "GET /foo.txt HTTP/1.1" 206 3280 "-" "Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)"
52.90.146.42 - - [15/May/2016:20:22:05 +0200] "GET /foo.txt HTTP/1.1" 416 206 "-" "Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)"

http://stackoverflow.com/questions/8293687/sample-http-range-request-session
https://benramsey.com/blog/2008/05/206-partial-content-and-range-requests/
https://en.wikipedia.org/wiki/Byte_serving
https://httpstatuses.com/206
https://httpstatuses.com/416

@dentarg
Copy link
Owner Author

dentarg commented May 15, 2016

Noticed how Slack does it

From a http://requestb.in/ (http://requestb.in/198y8vi1?inspect)

http://requestb.in
GET /198y8vi1

HEADERS

Accept-Encoding: gzip,deflate
Cache-Control: max-age=259200
Total-Route-Time: 0
Host: requestb.in
Accept: */*
User-Agent: Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)
X-Request-Id: 35b21545-31ae-47f2-93a0-388fde240aa0
Range: bytes=0-4096
Connect-Time: 1
Via: 1.1 vegur
Connection: close

FORM/POST PARAMETERS

None


RAW BODY

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant