HTTP interface: fix infinite loop