linkin-park / drag

Web Spider which list all the links for the keyword given.
MIT License
0 stars 0 forks source link

Development #1

Closed linkin-park closed 4 years ago

linkin-park commented 4 years ago

Changed the concurrency model for web_spider.go as it resulted in panic for certain cases.

  1. When the one of the producer doesn't know the channel has been closed and try to send result via closed channel.

The solution i came up after fix of data races and panics. https://gist.github.com/linkin-park/d540c379990ab3c8d678c8d032979fe5

So re-modified to more simplistic approach.

linkin-park commented 4 years ago

@susam will merge to master.