blob: 81e00afd027652ce7b81625fe573d65238d12810 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [99s-extend] Cowboy: http request maximum body size
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%3A%20http%20request%20maximum%20body%20size&In-Reply-To=%3C51DC3646.70207%40llaisdy.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Next" HREF="000153.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[99s-extend] Cowboy: http request maximum body size</H1>
<B>Ivan Uemlianin</B>
<A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%3A%20http%20request%20maximum%20body%20size&In-Reply-To=%3C51DC3646.70207%40llaisdy.com%3E"
TITLE="[99s-extend] Cowboy: http request maximum body size">ivan at llaisdy.com
</A><BR>
<I>Tue Jul 9 18:11:50 CEST 2013</I>
<P><UL>
<LI>Next message: <A HREF="000153.html">[99s-extend] Serve static files with cowboy from some applications
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#152">[ date ]</a>
<a href="thread.html#152">[ thread ]</a>
<a href="subject.html#152">[ subject ]</a>
<a href="author.html#152">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Dear All
From the source [1], it looks like the default maximum request body
size is 8 million bytes, but this can be set per request, up to
infinity. In the latter case there seems to be no upper limit set by
the server at all, and it will keep reading until some external force
makes it stop.
That looks handy, if it means I don't have to stipulate a maximum
request body size (as long as I make sure the machine cowboy is running
on has a sensible amount of memory).
Is that the case? If not, please correct.
With thanks and best wishes
Ivan
[1] <A HREF="https://github.com/extend/cowboy/blob/master/src/cowboy_req.erl#L720-746">https://github.com/extend/cowboy/blob/master/src/cowboy_req.erl#L720-746</A>
--
============================================================
Ivan A. Uemlianin PhD
Llaisdy
Speech Technology Research and Development
<A HREF="https://lists.ninenines.eu/listinfo/extend">ivan at llaisdy.com</A>
www.llaisdy.com
llaisdy.wordpress.com
github.com/llaisdy
www.linkedin.com/in/ivanuemlianin
festina lente
============================================================
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Next message: <A HREF="000153.html">[99s-extend] Serve static files with cowboy from some applications
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#152">[ date ]</a>
<a href="thread.html#152">[ thread ]</a>
<a href="subject.html#152">[ subject ]</a>
<a href="author.html#152">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>
|