2019-12-02 16:57:55 +01:00
|
|
|
package nettests
|
2018-03-21 12:18:45 +01:00
|
|
|
|
|
|
|
// HTTPInvalidRequestLine test implementation
|
|
|
|
type HTTPInvalidRequestLine struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
// Run starts the test
|
2019-12-02 16:57:55 +01:00
|
|
|
func (h HTTPInvalidRequestLine) Run(ctl *Controller) error {
|
2020-06-04 11:19:38 +02:00
|
|
|
builder, err := ctl.Session.NewExperimentBuilder(
|
2019-10-28 14:05:05 +01:00
|
|
|
"http_invalid_request_line",
|
|
|
|
)
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return ctl.Run(builder, []string{""})
|
2018-03-21 12:18:45 +01:00
|
|
|
}
|