RE: Beware of a bug of WEBrick


#1

I’m not sure that here is the right place to post(so sorry if it is
not),
but it seems that WEBrick is not being maintained any more.

I found that WEBricks freezes with 100% of CPU usage whenever
it takes a
POST message of invalid format(multipart/form-data with invalid
boundary). Then the server is able to process any other requests no
longer.

Be careful if you’re doing some serious things with script/server.

If you could provide a short, standalone script (using net/http or
whatever) that demonstrates this issue, the Ruby core team should be
able to fix it.

Regards,

Dan

This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.