[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: limit in file size?



> > > 	echo 1000000000 > /proc/sys/net/tux/max_object_size
> >
> > Ai.., I'm affraid that was a rtfm.. Sorry.. It just felt like an error
> > because of the 5 sec delay and the 404. What is de reason for such a
> > limit btw? If you don't want files larger than x, than you don't put
> > them in you docroot don't you? And if you want to limit other users,
> > they simply split the file up. Isn't this a file system quota thing?
> 
> it's just a convenient central place to limit transfer sizes. It's mostly
> a relic of TUX 1.0, but it makes some sense these days too.
>
> perhaps there is some better HTTP reply 'file too big' which TUX could
> send?

Yes. After reading rf2068 I think it should reply with a 403 Forbidden. 

 The server understood the request, but is refusing to fulfill it.
 Authorization will not help and the request SHOULD NOT be repeated.

What do you think?

	Ookhoi





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []