aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/BinaryStreamHandler.cs
diff options
context:
space:
mode:
authorsacha2010-12-23 08:14:43 +0000
committersacha2010-12-23 08:14:43 +0000
commit98f0b4c72ad208e9f664d30bb6a84e0b2adf8214 (patch)
treefdf6001af7f458fed5bf6f18df9be1882eb193d4 /OpenSim/Framework/Servers/HttpServer/BinaryStreamHandler.cs
parentreactivating some traces to track a dead thread (diff)
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.zip
opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.gz
opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.bz2
opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/BinaryStreamHandler.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BinaryStreamHandler.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BinaryStreamHandler.cs b/OpenSim/Framework/Servers/HttpServer/BinaryStreamHandler.cs
index 86fa44d..bae4e1b 100644
--- a/OpenSim/Framework/Servers/HttpServer/BinaryStreamHandler.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BinaryStreamHandler.cs
@@ -53,8 +53,8 @@ namespace OpenSim.Framework.Servers.HttpServer
53 53
54 private static byte[] ReadFully(Stream stream) 54 private static byte[] ReadFully(Stream stream)
55 { 55 {
56 byte[] buffer = new byte[32768]; 56 byte[] buffer = new byte[1024];
57 using (MemoryStream ms = new MemoryStream()) 57 using (MemoryStream ms = new MemoryStream(1024*256))
58 { 58 {
59 while (true) 59 while (true)
60 { 60 {