alumae / ruby-pocketsphinx-server

Ruby-based web service for speech recognition, using the PocketSphinx gstreamer module
Other
91 stars 19 forks source link

Drop requests that are larger than some certain size or length #2

Open alumae opened 13 years ago

alumae commented 13 years ago

To better cope with misuses in public environment, server should give an error on requests whose content is larger than some certain size or whose length (after decoding the audio) is longer than some certain length.