<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Junxiao, </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thank you. I will do that.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="tahoma, sans-serif"><span style="font-size:12.8000001907349px">Regards,</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Ishita Dasgupta</span><br style="font-size:12.8000001907349px"></font><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Jul 26, 2017 at 5:40 PM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi Ishita</div><div dir="auto"><br></div><div dir="auto">It seems there's a bug in the server implementation.</div><div dir="auto"><a href="https://github.com/remap/ndnfs-port/blob/4d312c0edd23ae43e8013118e369f241cf58d84a/server/servermodule.cc#L300-L308" target="_blank">https://github.com/remap/<wbr>ndnfs-port/blob/<wbr>4d312c0edd23ae43e8013118e369f2<wbr>41cf58d84a/server/<wbr>servermodule.cc#L300-L308</a><br></div><div dir="auto">In the quoted code snippet, the server is not responding with Data packet if segment size is zero. This causes the client to experience an Interest timeout.</div><div dir="auto">I suggest reporting a bug on ndnfs-port GitHub issue tracker.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div>On Wed, Jul 26, 2017 at 14:28 Ishita Dasgupta <<a href="mailto:ishita.dasgupta@gmail.com" target="_blank">ishita.dasgupta@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:tahoma,sans-serif"><div style="font-size:12.8px"><div style="font-size:12.8px">I agree with you Nick, which is why I thought its a problem on the ndnfs-end. I should have been more clearer, but the "File is empty" error appears on the ndnfs-server log, when trying to download either via ndnfs-client or PyNDN client.  </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am writing down the exact outputs that might help us towards a better conclusion. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><i>When I use<a href="https://github.com/remap/ndnfs-port/blob/master/test/client.cc" target="_blank"> ndnfs client</a> or my PyNDN client to download the 10MB file (exact multiple of 8KB):</i></div><div style="font-size:12.8px">Step 1: Last few lines of ndnfs log while moving the file to mount point (before trying downloading it from the client) :</div><div style="font-family:arial,sans-serif;font-size:12.8px"><blockquote class="gmail_quote" style="font-family:tahoma,sans-serif;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font color="#741b47" size="1"><span class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail-s1">- 1501103069 DEBUG: sign_segment: path=/oneMB.txt, ver=1501103054, seg=127, len=8192<br></span><span class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail-s1">- 1501103069 DEBUG: sign_segment: segment name is /ndn/broadcast/ndnfs/oneMB.<wbr>txt/%FDYy%03%CE/%00%7F<br></span><span class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail-s1">seg:127size:8192<br></span><span class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail-s1">- 1501103069 DEBUG: sign_segment: path=/oneMB.txt, ver=1501103054, seg=128, len=0<br></span><span class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail-s1">- 1501103069 DEBUG: sign_segment: segment name is /ndn/broadcast/ndnfs/oneMB.<wbr>txt/%FDYy%03%CE/%00%80<br></span><span class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail-s1">seg:128size:0</span></font></blockquote><div style="font-family:tahoma,sans-serif">Step 2: Now, when trying to downloading with ndnfs remote client, the application times out.</div><div style="font-family:tahoma,sans-serif">Step 3: Last few lines of ndnfs-server log when using ndnfs client:</div><div><blockquote class="gmail_quote" style="font-family:tahoma,sans-serif;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><span class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail-s1"><font color="#741b47">- 1501103131 DEBUG: sendFileContent: Data returned with name: /ndn/broadcast/ndnfs/oneMB.<wbr>txt/%FDYy%03%CE/%00%7F<br></font></span><span class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail-s1"><font color="#741b47">- 1501103131 DEBUG: sendFileContent: File is empty. Name: /ndn/broadcast/ndnfs/oneMB.<wbr>txt/%FDYy%03%CE/%00%80</font></span></font></blockquote><div style="font-family:tahoma,sans-serif"> Last few lines of ndnfs-server log when using PyNDN client:</div><div><font face="tahoma, sans-serif" color="#741b47" size="1"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">- 1501103887 DEBUG: sendFileMeta: Data returned with name: /ndn/broadcast/ndnfs/oneMB.<wbr>txt/%C1.FS.file/%FDYy%03%CE<br>- 1501103887 ERROR: onInterest: child selectors, min/maxSuffixComponents or excludes are not supported in current implementation.<br>- 1501103887 DEBUG: sendFileContent: Data returned with name: /ndn/broadcast/ndnfs/oneMB.<wbr>txt/%FDYy%03%CE/%00%00<br>- 1501103887 ERROR: onInterest: child selectors, min/maxSuffixComponents or excludes are not supported in current implementation.<br>- 1501103887 DEBUG: sendFileContent: File is empty. Name: /ndn/broadcast/ndnfs/oneMB.<wbr>txt/%FDYy%03%CE/%00%80</blockquote></font></div></div></div></div></div></div><div><div style="font-family:tahoma,sans-serif"><div style="font-size:12.8px"><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:12.8px"><br clear="all"><div><div class="m_390646526033303630m_3198547049763459354gmail-m_-8193271764326595452m_-8530924727429629200gmail_signature"><div><div><div><div><font face="tahoma, sans-serif"><span style="font-size:12.8px">Regards,</span><br style="font-size:12.8px"><span style="font-size:12.8px">Ishita</span></font></div></div><div><br></div></div></div></div></div></div></div></div></div></blockquote></div>
</div></div></blockquote></div><br></div></div>