diff options
| author | Vincent Richard <[email protected]> | 2009-04-09 18:15:50 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2009-04-09 18:15:50 +0000 |
| commit | d0bc8b3a951334471a81e099f15696c5353aac47 (patch) | |
| tree | a788bc5109d678e18c448a5f6ffb9e23017001a8 /src/utility/stream.cpp | |
| parent | Use Decider() method instead of deprecated SourceSignatures/TargetSignatures(). (diff) | |
| download | vmime-d0bc8b3a951334471a81e099f15696c5353aac47.tar.gz vmime-d0bc8b3a951334471a81e099f15696c5353aac47.zip | |
Fixed block size through filtered streams.
Diffstat (limited to 'src/utility/stream.cpp')
| -rw-r--r-- | src/utility/stream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utility/stream.cpp b/src/utility/stream.cpp index bb5300ef..8fbf337b 100644 --- a/src/utility/stream.cpp +++ b/src/utility/stream.cpp @@ -38,7 +38,7 @@ namespace utility { // stream -stream::size_type stream::getBlockSize() const +stream::size_type stream::getBlockSize() { return 32768; // 32 KB } @@ -468,7 +468,7 @@ void outputStreamSocketAdapter::flush() } -stream::size_type outputStreamSocketAdapter::getBlockSize() const +stream::size_type outputStreamSocketAdapter::getBlockSize() { return 16384; // 16 KB } @@ -511,7 +511,7 @@ stream::size_type inputStreamSocketAdapter::skip } -stream::size_type inputStreamSocketAdapter::getBlockSize() const +stream::size_type inputStreamSocketAdapter::getBlockSize() { return 16384; // 16 KB } |
