{"issue":{"state":"closed","created_at":"2011-11-28T05:48:40Z","updated_at":"2011-11-28T06:56:41Z","user":{"gravatar_id":"fdc587e5edec6ba881d9cb93cbe72c7b","id":84644,"url":"https://api.github.com/users/wookiehangover","avatar_url":"https://secure.gravatar.com/avatar/fdc587e5edec6ba881d9cb93cbe72c7b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"wookiehangover"},"comments":0,"body":"If you use the static middleware in conjunction with an app that uses the multipart file upload middleware, all hell breaks loose. Here's a gist of the example from the docs, but with the static middleware added in: https://gist.github.com/1399257\r\n\r\nThat example will just hang when you try to upload a file.\r\n\r\nIn a more complex use case, I'm able to get a stacktrace (still haven't been able to track down why):\r\n\r\n    node.js:201\r\n            throw e; // process.nextTick error, or 'error' event on first tick\r\n                  ^\r\n    TypeError: undefined is not a function\r\n        at BufferedStream.<anonymous> (/Users/sam/dev/repos/cloudy/node_modules/strata/lib/request.js:521:30)\r\n        at BufferedStream.emit (events.js:67:17)\r\n        at BufferedStream.flush (/Users/sam/dev/repos/cloudy/node_modules/strata/node_modules/bufferedstream/bufferedstream.js:151:18)\r\n        at Array.tick [as 0] (/Users/sam/dev/repos/cloudy/node_modules/strata/node_modules/bufferedstream/bufferedstream.js:115:18)\r\n        at EventEmitter._tickCallback (node.js:192:40)\r\n\r\nThanks!\r\n","assignee":null,"id":2364247,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":17,"title":"multipart and static middleware are incompatible","closed_at":"2011-11-28T06:56:41Z","html_url":"https://github.com/mjijackson/strata/issues/17","milestone":null,"url":"https://api.github.com/repos/mjijackson/strata/issues/17"},"action":"closed"}