titan-x / titan

Messaging server with mobile and browser support.
MIT License
2 stars 3 forks source link

Auto-switch to streaming mode if message-size > 256K #30

Closed soygul closed 9 years ago

soygul commented 9 years ago

Allocating a huge 25M buffer in the reader and waiting 10 mins for it to be filled from a mobile device would not be reasonable.. not to mention broken connections and continuation problems.

This would be especially useful for larger files (not that it would be suitable to use the messaging infrastructure to upload images and such but maybe the thumbnails or very large text files).

soygul commented 9 years ago

This is now a Neptulon framework task and will be handled along with real-world usage.